$isBanned
$isBanned
checks if a given user is banned in a specific guild.
Usage
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: