Skip to content
@PurgeBot-net

PurgeBot

🧹 PurgeBot

Powerful, precise message management for Discord servers.

Invite Bot Support Server

What it does

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.

Commands

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

Filtering

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$ or image/ 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)

Exemptions

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

Premium ✨

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.


Pinned Loading

  1. docker docker Public

    Docker Compose stack for running PurgeBot with its Postgres and Redis dependencies

  2. locale locale Public

    Shared Go library holding PurgeBot's translations, managed through Crowdin

    Go

  3. gateway gateway Public

    Go service that maintains PurgeBot's connection to the Discord gateway

    Go

  4. interactions interactions Public

    Go service that handles PurgeBot's slash commands and other Discord interactions over HTTP

    Go

  5. purger purger Public

    Go worker service that runs PurgeBot's purge jobs in the background

    Go

Repositories

Showing 9 of 9 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…