/ban
Overview
/ban permanently bans a user from the server. Optionally delete their recent messages.
Required Permissions
- Ban Members
Options
| Option | Required | Description |
|---|---|---|
user | Yes | User to ban |
reason | No | Reason for the ban |
deletemessages | No | Delete messages from last 0–7 days (default: 0) |
Behavior
- The banned user receives a DM with the reason and an Appeal button (if appeals are enabled).
- Bots cannot be banned.
- A case is created and, if configured, logged to the log channel.