/ban
Clanzy's /ban command: Ban from the server. Syntax, who can use it, bot permissions, examples and common errors.
Ban someone from the server. Clanzy never acts on admins or the owner, and only on members whose role is below yours and below Clanzy's. The member gets a DM with the reason (can be turned off in the dashboard). Every action is kept as a case.
Syntax
/ban user:<user> reason:<reason> days:<days>
Type / in a server channel, pick the command from the list and fill in the fields Discord shows.
Options
| Name | Type | Required | Description |
|---|---|---|---|
user | member | Yes | Who to ban (or their ID) |
reason | text | No | Reason (sent to the member and kept in the case) (up to 500 characters) |
days | integer | No | Delete their messages from the last days (0-7) (0–7) |
Who can use it
- Members: Mods with Ban Members. Discord hides the command from members without it.
- Clanzy needs: Ban Members.
- Feature: Moderation
See permissions and who can use what to change who sees commands in Discord.
Examples
| You type | Clanzy does |
|---|---|
/ban user:@Scammer reason:Gửi link lừa đảo days:1 | 🔨 Scammer is banned and their messages from the last day are deleted. Paste an ID to ban someone who already left. |
In the dashboard
The related settings are in the dashboard: pick your server and the section opens.
Errors you may see
| Clanzy says | What it means and the fix |
|---|---|
| You need the Ban Members permission to use this command. | This command needs its own permission: Kick Members for /kick, Ban Members for /ban and /unban, Manage Messages for /purge. Ask an admin to grant it to your role. More |
| Clanzy is missing Ban Members. Ask an admin to grant it in the dashboard (Moderation). | Clanzy was added before moderation existed, so it lacks the permission. Open Moderation in the dashboard and re-authorize the bot. More |
| You can't do that to yourself 😅 | You picked yourself. Pick the member you want to act on. |
| You can't act on an admin. Clanzy never touches members with Administrator. | Clanzy never acts on members with Administrator or on the owner. Handle it in Discord directly if you really must. More |
| @Tuan has a role equal to or above yours, so you can't act on them. | Their highest role is equal to or above yours. Ask someone with a higher role. More |
| @Tuan's role sits above Clanzy's. Move Clanzy's role higher (Server Settings → Roles) and try again. | Their role sits above Clanzy's. Drag Clanzy's role higher in Server Settings → Roles. More |
Related commands
/unban: Lift a ban/kick: Kick a member from the server/cases: A member's moderation history- All commands: command list
Updated