$getBanReason
$getBanReason
will return a ban reason of an specific user.
Usage
$getBanReason[guildID?;userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The guild ID. | false |
userID? | number | The user ID of the user you want to check the ban reason of. | false |
Example(s)
This will return the ban reason of whoever you’d like:
1client.command({2 name: "getBanReason",3 code: `4 $getBanReason[$guildID;userID]5 ` // make sure to replace "userID" with an actual user ID6});