$ban
$ban
will ban a user of a guild.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | From which guild the user should be banned from. | true |
userID | number | The user to ban. | true |
days? | string | Days of message history to delete, cannot be higher than 7 days | false |
reason? | string | The reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will ban a random user of your guild: