Functionalities
Other
Powered By GitBook
$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.

1
bot.Command({
2
name: "test",
3
code: `
4
$adminCount
5
$adminCount[]
6
`
7
})
Copied!

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

1
bot.Command({
2
name: "test",
3
code: `
4
$adminCount[5692847502973454]
5
$adminCount[5692847502973454;]
6
$adminCount[5692847502973454;all]
7
`
8
})
Copied!

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

1
bot.Command({
2
name: "test",
3
code: `
4
$adminCount[5692847502973454;human]
5
`
6
})
Copied!

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

1
bot.Command({
2
name: "test",
3
code: `
4
$adminCount[5692847502973454;bot]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link