Purge
Bulk delete messages from channels
/purge deletes many messages at once. On the dashboard you can pick the channel and how many messages, and filter by user, bots, links or text, so only the messages you mean go.
- Free, like every feature
- Off until you switch it on
- 1 command
Set it up
- Switch on Purge
Dashboard → your server → Modules → Channel Control → Purge. It starts off, like every feature.
- Open Purge in the sidebar
Its settings save as you change them and work straight away.
- Target Channel
The channel to delete messages from.
- Number of Messages
How many recent messages to look through (Discord only allows deleting messages under 14 days old).
- Filter By
Delete everything, or only messages from one member, from bots, containing some text, or with attachments, embeds or links.
- Filter User ID
The member whose messages to delete.
- Try /purge
Delete messages from a channel New commands show up within about a minute; press Ctrl+R in Discord if you can't see them yet.
Settings
Everything on the Purge page of the dashboard. Changes save as you make them.
- Target Channel
- The channel to delete messages from.
- Number of Messages
- How many recent messages to look through (Discord only allows deleting messages under 14 days old).
- Filter By
- Delete everything, or only messages from one member, from bots, containing some text, or with attachments, embeds or links.
- Filter User ID
- The member whose messages to delete. e.g. User ID
- Filter Text
- Only messages containing this text are deleted. e.g. Text to search for
- Log Purged Messages
- Save purged messages to the log channel
Commands
Who can use each one is up to you: the "Who can use this" card on the page, or Command Access.
/purge
Delete messages from a channel
| Option | What to give it | Needed? |
|---|---|---|
amount | Number of messages (1-100) (whole number, 1–100) | Yes |
user | Only delete messages from this user (member) | Optional |
filter | Filter type (text: Bots, Humans only, Links, Invites, Images, Embeds, Mentions, Text Only) | Optional |
contains | Only messages containing this (text) | Optional |
not_containing | Skip messages containing this (text) | Optional |
starts | Only messages starting with this (text) | Optional |
ends | Only messages ending with this (text) | Optional |
after | Only messages after this message ID (text) | Optional |