Functionalities
Other
$membersCount
Returns the number of members that are in the server with the supplied presence.

FUNCTION USAGE:

  • $membersCount
  • $membersCount[]
  • $membersCount[presence]
  • $membersCount[presence;guildID]

Properties:

[] - Leave brackets empty to return the total amount of members in the guild the command is executed in. Same as no brackets. presence - One of the presence values to return the value of. guildID - The ID of the guild to return the data from.

Presence values:

  • online
  • offline
  • idle
  • dnd
  • bot
  • human
1
bot.Command({
2
name: "members",
3
code: `
4
There's a total of $membersCount members in this server
5
`
6
})
Copied!
Last modified 4mo ago