MessagesFree, more on Pro3 min read

How to see who purged messages on Discord

Who cleared a channel, how many messages went and what they said.

Short answer

When a moderator or a bot clears messages in bulk, the audit log records who did it and how many, for 45 days, but not what the messages said. A logging bot posts one log per purge: who deleted the messages, in which channel, how many and what they said.

What Discord itself records

A purge shows up in Server Settings → Audit Log as a bulk message delete, with the moderator, the channel and the number of messages. The messages themselves are gone, and the entry disappears after 45 days. If a bot did the purge, the audit log names the bot.

What LoggerBot logs

  • Deleted by — who purged the messages, read from the audit log.
  • Channel — where it happened.
  • Number of messages — how many were deleted, in one log entry instead of one per message.
  • What they said — the author and text of each message, in a .txt file when the list is long.

All of it is on the free plan, for messages up to 12 hours old. LoggerBot Pro keeps the text of messages up to 28 days old.

Set it up

  1. 1Add LoggerBot to your server. This log is on the free plan.
  2. 2Run /setlogall to create private log channels, or pick a channel for the Messages category in the dashboard.
  3. 3Purge a few test messages with your moderation bot to see the first log.

Frequently asked questions

Can I get purged messages back?

No. Once Discord deletes them they are gone. Only a log made at the time, like LoggerBot’s, keeps what they said.

Does a purge flood my log channel?

No. Each purge is one log entry, not one per message.

Does it log purges done by bots?

Yes. When a bot clears the messages, the log names that bot.

Related guides

Know who cleared a channel

Purge logs are free, with what the messages said. Pro keeps it for 28 days.