Skip to content

$getBanReason

$getBanReason will return a ban reason of an specific user.

Usage

$getBanReason[guildID?;userID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe guild ID.false
userID?numberThe 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:

1
client.command({
2
name: "getBanReason",
3
code: `
4
$getBanReason[$guildID;userID]
5
` // make sure to replace "userID" with an actual user ID
6
});