$unban
$unban
will unban a given user.
Usage
$unban[guildID;userID;reason?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the user is banned in. | true |
userID | number | The ID of the user which will be unbanned. | true |
reason? | string | The reason for the unban that will be displayed in the guild’s audit logs. | false |
Example(s)
This will unban a given user:
1client.command({2 name: "unban",3 code: `4 $unban[$guildID;$randomUserID;Some reason.]5 `6});