Skip to content

$isBanned

$isBanned checks if a given user is banned in a specific guild.

Usage

$isBanned[guildID;userID]

Parameters

FieldTypeDescriptionRequired
guildIDnumberID of the guild where to check if the user is banned or not.true
userIDnumberID of the user that will be checked if they’re banned or not.true

Example(s)

This will return false as you’re not banned in this guild:

1
client.command({
2
name: "isBanned",
3
code: `
4
$isBanned[$guildID;$authorID]
5
`
6
});