Plans

Purge messages Discord bot

Bulk delete messages in a channel, restricted to staff.

No code needed. Try it in your browser before adding it to Discord.

Purge messages running in Discord

What it does

Bulk delete messages in a channel, restricted to staff.

Usage: /purge count:50

Requirements:

  • Set the Staff role in settings (who can use this command)
  • Only members with that role can purge messages
  • Count must be between 1 and 100

How it works:

  1. Staff member runs /purge with a count
  2. The bot deletes that many recent messages (skips those older than 14 days)
  3. Replies privately with how many were actually removed

The reply is ephemeral (only visible to you), so it doesn't clutter the channel.

Commands

  • /purgeDelete recent messages

Add Purge messages to your server

  1. Log in with Discord

    Sign in with your Discord account and choose the server where you want it.

  2. Try it here

    Play with commands, buttons and replies in a simulated Discord server, right in your browser. Your real server stays untouched.

  3. Add it to your server

    Choose your server, check the settings and add your module. Want something different? Just ask MEE6 to change it.

The prompt behind it

Add a /purge command, restricted to the @Staff role, that deletes the last N messages of the channel and confirms privately how many it removed

More in Moderation