Functionalities
Functions
Data
Other
$adminCount
Returns the amount of bots, humans or total admins in a guild.

FUNCTION USAGE

  • $adminCount
  • $adminCount[]
  • $adminCount[guildID]
  • $adminCount[guildID;option]

Properties:

[] - Leave empty to define the current guild and return the total admin count. Same as no brackets. guildID - The ID of the guild to return data from. option - Optionally choose what data to return.

Options:

bot - Returns the admin count of all the bots in the guild. human - Returns the admin count of all the humans in the guild. all - Returns the total admin count of the bots and humans combined.
Bot must be in the guild to read that data!

Example 1: Returns the total admin count of the current guild.

bot.Command({
name: "test",
code: `
$adminCount
$adminCount[]
`
})

Example 2: Returns the total admin count of another guild.

bot.Command({
name: "test",
code: `
$adminCount[5692847502973454]
$adminCount[5692847502973454;]
$adminCount[5692847502973454;all]
`
})

Example 3: Returns the admin count of humans in another guild.

bot.Command({
name: "test",
code: `
$adminCount[5692847502973454;human]
`
})

Example 4: Returns the admin count of bots in another guild.

bot.Command({
name: "test",
code: `
$adminCount[5692847502973454;bot]
`
})
Copy link