$banCount

Returns how many users are banned in the provided guild.

Usage

$banCount[guildID]

This function has one param.

ParamDescriptionTypeRequired

guildID

The guild to return the ban count for.

Snowflake

Yes

Example

bot.commands.add({
    type: "basicCommand",
    name: "bans",
    code: `Ban Count: $banCount[$guildID]`
})

Last updated