Functionalities
Other
$bansCount
Returns the total number of users banned in the current or specific guild.

FUNCTION USAGE

  • $bansCount
  • $bansCount[]
  • $bansCount[guildID]

Properties:

[] - Leave blank to return the total number of banned users in the current guild. Same as no brackets. guildID - Defined a guild ID to return the total number of banned users in that guild.

Example 1: Total number of users banned in the current guild.

1
bot.Command({
2
name: "bans",
3
code: `
4
$bansCount
5
`
6
})
Copied!

Example 2: Total number of users banned in the current guild.

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

Example 3: Total number of users banned in the defined guild.

1
bot.Command({
2
name: "bans",
3
code: `
4
$bansCount[63875346934564987]
5
`
6
})
Copied!
Last modified 9mo ago
Copy link
Contents
Properties: