Moderation command
,ban
Ban a member, optionally purging their recent messages.
co-owner+
Cooldown
—
per member, per server
Aliases
2
b, fuckoff
Subcommands
0
none — one call does it
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
Syntax
,ban <member> [reason]
Examples
,ban @MemberBuilt from the syntax above — swap the placeholders for your own mentions.
Arguments
Square brackets are optional, angle brackets are required — the same legend ,help ban prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
member | required | a member mention, id or username |
reason | optional | free text, shown in the mod log |
Before you run it
What the command itself checks before it does anything, read from the src/commands/moderation/ban.js source.
- Permissions
- Ban Members
- Reads
- only your message arguments
- Replies with
- a Components V2 panel
- Cooldown
- None
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
M
,ban @Member
B
Ban a member, optionally purging their recent messages.
Related
More moderation commands
Commands that usually get used alongside ,ban.
,bansModerationView all banned members in the server.aliases: banlist, banned,announceModerationPost an announcement embed.aliases: ann, announcement,autopfpModerationRotate this server's icon on a timer from a list of images.aliases: autoprofilepicture, rotateicon,autorestartModerationAutomatically reset selected channels on an interval.aliases: arest, autoreste,autoroleModerationChoose roles given automatically to new members.aliases: ar,botclearModerationBulk delete messages sent by bots in this channel.aliases: bc, botpurge
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.