Skip to content

$unban

$unban will unban a given user.

Usage

$unban[guildID;userID;reason?]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe guild ID of where the user is banned in.true
userIDnumberThe ID of the user which will be unbanned.true
reason?stringThe reason for the unban that will be displayed in the guild’s audit logs.false

Example(s)

This will unban a given user:

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