Clear

Delete up to 100 recent messages in a channel at once, from everyone or only from one member, bots or messages with certain text.

Plan
Free
Who Can Use It
Manage Messages
Commands
/clear
Dashboard
Clear page

Quick Start

Clean up a channel after spam or a raid, with /clear or on the Clear page in the dashboard.

  1. 01

    Run /clear in the Channel

    With no options it deletes the latest 10 messages. Set amount to delete up to 100. On the Clear page, pick the channel first.

  2. 02

    Narrow It Down

    Pick a user to delete only their messages, turn on bots for bot and webhook messages, or enter text in contains. Options can be combined.

  3. 03

    Check the Reply

    Only you see it. It says how many messages were deleted and how many were too old to delete.

Commands

/clear and the Clear from here message entry need the View Channel, Read Message History and Manage Messages permissions in the channel.

  • /clearamountuserbotscontains

    Delete recent messages in this channel.

    Free
  • Apps → Clear from here

    Right-click a message and pick Apps → Clear from here, then press Delete messages. Deletes that message and every message after it, with the same skips as /clear.

    Free

Settings

Set them each time you run /clear or on the Clear page in the dashboard. A message is deleted only if it matches every setting.

SettingWhat It DoesDefaultPlan
AmountHow many messages to delete, from 1 to 100.10Free
UserOnly delete this member's messages.EveryoneFree
BotsOnly delete messages from bots and webhooks.OffFree
ContainsOnly delete messages with this text in the message or its embeds, up to 100 characters. Upper and lower case don't matter.NoneFree

How It Works

Verifier reads the last 100 messages in the channel, newest first, and deletes up to amount of the ones that match your options in a single bulk delete. With a filter, it can delete fewer than you asked for if fewer of those 100 messages match.

Clear from here first asks you to confirm with a Delete messages button, then works on the same last 100 messages: it deletes the message you picked and everything after it. If the message is further back than that, Verifier tells you to pick a newer one instead of deleting a partial range.

Pinned messages are never deleted, and neither are system messages Discord doesn't allow deleting, such as the first message of a thread. Verifier also keeps its own messages with buttons or menus, such as the verification message and role pickers, so a clear doesn't break them.

Discord's audit log shows the delete with the reason Cleared by and your name, or Cleared from the dashboard by and your user ID. Verifier also adds a Messages deleted entry to its own audit log, with the channel, the count and the member you filtered by, and posts it to your log channel if logging is on.

Verifier needs View Channel, Read Message History and Manage Messages in the channel, and so do you. /clear works in text, announcement and voice channels and in threads; the Clear page lists text channels.

Messages Older Than 14 Days Stay

Discord doesn't let bots bulk delete messages older than 14 days. Verifier skips them and tells you how many it skipped. Delete those by hand.

Troubleshooting

Fewer messages were deleted than I asked for

Verifier only checks the last 100 messages and skips pinned messages, messages older than 14 days, Verifier's own messages with buttons or menus and the ones your options don't match. Run /clear again to keep going.

Verifier says it's missing permissions

Give the Verifier role View Channel, Read Message History and Manage Messages, and check the channel's overrides for its role.

I can't see /clear

It's shown to members with Manage Messages. Server admins can change who sees it in Server Settings › Integrations › Verifier.