Powerful, precise message management for Discord servers.
PurgeBot lets server administrators delete messages with surgical precision — by user, role, bot, webhook, ex-member, or deleted account, across a whole server, category, or channel. Operations run in the background with real-time progress, and whoever started one (or the server owner) can cancel it with /cancel, the cancel button, or @PurgeBot cancel.
| Command | Description |
|---|---|
/purge user |
Delete messages from a specific user |
/purge role |
Delete messages from members with a specific role |
/purge everyone |
Clear all messages in a channel or category |
/purge bot |
Delete messages sent by bots |
/purge inactive |
Remove messages from users who have left |
/purge webhook |
Delete messages sent by webhooks |
/purge deleted |
Remove messages from deleted accounts |
/cancel |
Cancel a running purge |
/help |
Overview of commands and parameters |
/stats ✨ |
View purge statistics for this server |
/customize ✨ |
Custom nickname, avatar, and branding per server |
@PurgeBot cancel |
Same as /cancel, without the command menu |
Purge commands support optional filtering:
- Modes —
contains,exact,starts_with,ends_with,regex - Attachments — filters match message text, attachment filenames and attachment types, so
\.mp4$orimage/reach uploads - Keep instead of delete — invert any filter to delete everything except what it matches
- Case sensitivity — optional
- Date range — 1–30 days
- Scope — server-wide (except
everyone), category (with interactive channel-skip UI), or single channel - Threads — optionally include active and archived threads (in server and category scopes, forum threads are always included)
- Bots — optionally include bot messages (
role,everyone,inactive)
Anything spared is never deleted, whatever the filter matches:
- A user — spare one member’s messages entirely (
role,everyone,bot,inactive) - Specific messages — by link or ID, separated by commas or spaces
- Channels — pick channels to skip when purging a category
Server Subscription unlocks /customize and /stats — set a custom nickname, avatar, remove the "Powered by PurgeBot" footer, and view detailed purge statistics, all per server.