— Moderation
/ban
Ban a user from the server.
Usage
/ban <user> [reason] [delete_messages] [silent]
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
user |
user | Required | User to ban (works on users who already left) |
reason |
text | Optional | Reason — recorded in the case and the audit log |
delete_messages |
number | Optional |
Purge the user's recent messages
Choices: Don't delete · Last hour · Last 24 hours · Last 7 days |
silent |
true/false | Optional | Skip the DM notice to the user |
Permissions
Who can run it
Ban Members
Server admins can change this per command in Server Settings → Integrations.
What Echo needs
Ban Members
If this is missing the command fails even for an administrator — the permission belongs to the bot, not to you.