Moderation command
,purge
Bulk delete recent messages in this channel.
Everyone can use it
Cooldown
—
per member, per server
Aliases
3
c, clear, prune
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
,purge <member> <amount> [reason]
Examples
,purge @Member 10Built from the syntax above — swap the placeholders for your own mentions.
Arguments
Square brackets are optional, angle brackets are required — the same legend ,help purge prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
member | required | a member mention, id or username |
amount | required | a number |
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/purge.js source.
- Permissions
- Manage Messages
- Reads
- member mentions
- Replies with
- a plain message
- 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
,purge @Member 10
B
Bulk delete recent messages in this channel.
Related
More moderation commands
Commands that usually get used alongside ,purge.
,purgeafterModerationBulk-delete messages (Purge After).aliases: pa,purgebetweenModerationBulk-delete messages (Purge Between).aliases: pbetween,purgebotModerationPurge the bot's own recent messages from this channel.aliases: clearbots, pb,purgebotslashModerationBulk-delete messages (Purge Bot Slash).aliases: pbs,purgebyModerationBulk-delete messages (Purge By).,purgecapsModerationBulk-delete messages (Purge Caps).aliases: pcaps
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.