$isBanned
$isBanned checks if a given user is banned in a specific guild.
Usage
$isBanned[guildID;userID]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| guildID | number | ID of the guild where to check if the user is banned or not. | true |
| userID | number | ID 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:
1client.command({2 name: "isBanned",3 code: `4 $isBanned[$guildID;$authorID]5 `6});