$membersCount
$membersCount
will return a guild’s member count.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
presence? | string | The presence of the users 1. all (default) 2. dnd 3. idle 4. offline 5. online | false |
countBot? | boolean | Count bots? 1. true (default) 2. false | false |
Example(s)
This will return the amount of offline users (including bots) in your guild: