/ban
Ban a member, or anyone by user ID — even people who already left.
Apera bans the member, sends them the reason in DM before they go, and writes the reason to the audit log so the ban shows who did it. You can also remove their recent messages. Apera refuses to ban the server owner, itself, you, or anyone whose top role is equal to or higher than yours or Apera’s.
How to use it
/ban [user] [user_id] [reason] [duration] [delete_days]<required> must be filled in; [optional] can be left out.
| Option | Type | What it does |
|---|---|---|
user optional | member | Member to ban |
user_id optional | text | Or a user ID (for people not in the server) |
reason optional | text | Reason (shown in the audit log and sent to the member) |
duration optional | text | Temporary ban: 12h, 7d, 2w, 1mo (leave empty for a permanent ban) |
delete_days optional | number | Delete their messages from the last 0–7 days |
Examples
/ban user:@Leader Only reason:Spamming invitesBan Leader Only and tell them why
/ban user_id:123456789012345678 delete_days:1Ban someone who already left and delete their last day of messages
!ban @Leader Only SpammingSame thing with the prefix command
What it looks like
Real replies from Apera. Use EN | ع on a picture to see it in the other language.
Good to know
- Needs the Ban Members permission (you and Apera).
- Undo it with /unban.
Related
Guides that use this command
Related commands
/unbanUnban a user by their ID./kickKick a member from the server./timeoutTimeout a member for a while — they can’t chat, react or talk./untimeoutEnd a member’s timeout early./muteMute a member with the Muted role until you unmute them./unmuteUnmute a member.Was this page helpful?
Thanks for telling us!