$roleCount
$roleCount
will return the guild’s role count.
Usage
$roleCount[guildID?;fetchFirst?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
fetchFirst? | boolean | Fetch the roles first before returning the count? 1. true 2. false (default) | false |
Example(s)
This will return the amount of roles of your guild:
1client.command({2 name: "roleCount",3 code: `4 $roleCount[$guildID;true]5 `6});