Apera DocsBeta

/ban

Ban a member, or anyone by user ID — even people who already left.

Needs Ban Members Also !ban Guide: Moderation commands Open in dashboard

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.

OptionTypeWhat it does
user optionalmemberMember to ban
user_id optionaltextOr a user ID (for people not in the server)
reason optionaltextReason (shown in the audit log and sent to the member)
duration optionaltextTemporary ban: 12h, 7d, 2w, 1mo (leave empty for a permanent ban)
delete_days optionalnumberDelete their messages from the last 0–7 days

Examples

/ban user:@Leader Only reason:Spamming invites

Ban Leader Only and tell them why

/ban user_id:123456789012345678 delete_days:1

Ban someone who already left and delete their last day of messages

!ban @Leader Only Spamming

Same 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

Guides that use this command

Related commands