$roleCount
$roleCount
will return a 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 your guild has:
1client.command({2 name: "roleCount",3 code: `4 $roleCount[$guildID;true]5 `6});