Contents
- What Discord does with deleted messages
- What the Audit Log shows and what it doesn't
- Do you need a message log?
- 1. Turn on logging in Lizbot
- 2. Create log channels and choose a layout
- 3. Switch on the right events
- 4. Show who deleted it: the View Audit Log permission
- 5. Set exceptions
- 6. Test it
- How to read a log entry
- Where the limits are
- Privacy: what a log may contain
- Checklist
- Common mistakes
- FAQ
Someone insults a member, gets reported and deletes the message before the team sees it. Or a reply suddenly shows up in chat without the question it answered. At that point every team asks whether there is any way to see deleted messages on Discord.
The honest answer: once something is deleted, Discord won't give it back. But you can find out who deleted it, and you can make sure that from now on every deleted and edited message ends up in a log channel for your team. In this guide you learn what Discord itself shows, how to set up a message log with Lizbot and what to keep in mind about privacy.
What Discord does with deleted messages
When someone deletes a message, it disappears for every member, including admins and the server owner. There is no recycle bin, no placeholder in the chat history and no setting that lets moderators see deleted content anyway. Replies to a deleted message only show a note that the original was deleted.
The same goes for attachments. Images and files in a deleted message are gone for the server. The Discord data export you can request in your user settings doesn't help either: it only covers your own account, not the messages of other members on your server.
Stay away from tools or modified Discord apps that promise to show deleted messages. Modified clients break Discord's Terms of Service and can put your account at risk. On top of that, such a tool only sees what reached your own device while it was running. That is no reliable basis for a team.
What the Audit Log shows and what it doesn't
Discord has a built-in record of moderation actions: the Audit Log. You find it in your Server Settings under Audit Log. Only people with the View Audit Log permission can see it.
For deleted messages, the Audit Log tells you:
- who deleted it, for example a moderator,
- whose message was deleted,
- in which channel it happened,
- the number of messages when several were deleted in quick succession.
What the Audit Log doesn't show:
- the content of the message,
- deletions by the author. When someone deletes their own message, no entry is created. So the most common case, "post quickly and delete again", stays invisible.
- older entries. Discord keeps Audit Log entries for 45 days, after that they are gone.
So the Audit Log answers "Who cleaned up?", but not "What did it say?". For the content you need a message log that records messages before they are deleted.
Do you need a message log?
A log is worth it especially when:
- your server is public and you get reports about insults or scam links,
- several people moderate and you want to track who removed what,
- there are regular arguments along the lines of "I never wrote that",
- you want to see edits, for example when someone later changes a harmless text into a link.
On a small server for a group of friends with no need for moderation, you can skip it. There a log feels more like surveillance than protection.
1. Turn on logging in Lizbot
Logging is included in every plan, including the Free plan. Open the dashboard, choose your server and open All modules in the sidebar and then the Logging module. Once it is active, it appears in the sidebar under Protect. In the General section, switch on Logging enabled.
To get started, use the Load template bar at the top of the page. There are three logging templates:
- Minimal: only joins, leaves, kicks, bans, timeouts and deleted messages
- Moderation: everything mods need, without voice noise
- Everything: every event, including voice
Minimal is already enough for deleted messages. If you also want to see edited messages, pick Moderation. How to log joins, roles and voice sensibly as well is explained in the guide to setting up Discord logs.
2. Create log channels and choose a layout
Under Layout you decide how many channels you want:
- All in one channel: one log channel for every event, ideal for small servers
- Per area: one channel per area, such as moderation, messages, members or voice
- Per event: every event gets its own channel
For most servers, Per area is the best compromise. Deleted messages, edits and bulk deletes then end up together in the messages channel and don't get lost between joins and voice switches.
Instead of building the channels yourself, click Create channels under Create log channels automatically. Lizbot creates a private "Logs" category with the right channels. Only admin and mod roles can see it, and only Lizbot can post. Existing log channels are reused, a second click doesn't create anything twice. For this, Lizbot needs the Manage Channels permission.
Also set a Fallback channel. Lizbot posts everything there that has no channel of its own, and also when a log channel was deleted by accident.
3. Switch on the right events
In the Events section (under Areas when you use the per area layout) you see every event individually. Three of them matter for deleted messages:
- Message deleted: author, channel, text of the message and the list of attachments
- Message edited: before and after, with a link to the message
- Bulk delete: how many messages were deleted at once and in which channel
Switch off what your team doesn't read. A log nobody looks at protects nobody.
4. Show who deleted it: the View Audit Log permission
Lizbot links its message log with Discord's Audit Log. When a moderator deleted another member's message, Lizbot adds the By field with the moderator to the log entry. That way you see the content and the person responsible in one place.
For this, the Lizbot role needs the View Audit Log permission:
- Open your Server Settings and then Roles.
- Select the Lizbot role and open the Permissions tab.
- Switch on View Audit Log and save.
Without this permission the log still works, only the By field is missing. When someone deletes their own message, By stays empty, because Discord doesn't create an Audit Log entry for that. So an entry without By usually means the author deleted it. That isn't certain, though, because Lizbot only uses a fresh Audit Log entry from the last few seconds. When a moderator deletes several messages from the same person in quick succession, Discord often merges them into an older entry, and By can then be missing. When in doubt, check the Audit Log.
Lizbot uses the same permission to show the moderator and the reason for bans and timeouts in the log. Kicks are only detected that way: without the permission, a kick shows up in the log as "Member left".
5. Set exceptions
Under General there are two exception lists:
- Ignored channels: message events from these channels are not logged. Typical examples are team channels, a bot playground for commands or a counting channel.
- Ignored roles: message and voice events from members with these roles are not logged, for example for the server leads if they often correct announcements.
Lizbot never logs messages from bots. That keeps the log free of automatic status messages.
6. Test it
Write a test message in a normal channel, edit it and then delete it. Two entries should appear in the log: "Message edited" with before and after, and "Message deleted" with your text. Then ask a team member to delete a fresh test message of yours. If their name shows up in the By field, the Audit Log permission is set correctly.
Lizbot waits briefly for the Audit Log entry, collects the entries for each log channel for about one and a half seconds and sends them in a batch. So it can take a few seconds for the entry to appear.
How to read a log entry
A typical entry for a deleted message looks like this:
- Title: Message deleted
- Text: "Who's joining the event tonight?"
- Channel: #general
- User: @Alex
- Attachments (1): file name with link
- By: @Moderator (only when someone else deleted it)
- Footer: the message ID
The message ID helps when you discuss a case in the team or send a report to Discord.
Where the limits are
A log can't work miracles either. You should know these points:
- No looking back: Lizbot only logs from the moment logging is enabled. Anything deleted before that stays lost.
- Older messages without text: when a message is deleted, Discord only reports that it is gone, not what it said. Lizbot only knows the text if the message was still in its cache. That means the most recent messages of a channel, roughly from the last half hour and at most 200 per channel. If an older message is deleted, the entry says "no text, or no longer cached". Then you only see the channel, the time and the message ID, but neither the author nor who deleted it. For edits, the old version is missing in the same way, the new text is still logged.
- Bulk deletes without content: when a moderator cleans up with
/channel purge, a single entry such as "12 messages deleted" appears with the channel, but without the individual texts. How purge and its filters work is covered in the guide to bulk deleting messages. - Attachments: Lizbot lists file names and links. The files themselves are stored by Discord. Don't rely on a link still working after the deletion. Save important evidence right away with a screenshot.
- Lizbot offline or without access: if Lizbot can't see a channel, it doesn't notice deletions there either. Check the permissions of private channels. After a restart the cache is empty, so messages from before appear without text when they are deleted.
That makes the log very reliable for insults and scams as they happen. It isn't meant as a complete archive of your whole server.
If it is not a message but a whole deleted channel or role, the guide Recover a deleted channel or role helps.
Privacy: what a log may contain
A message log stores content that someone removed on purpose. Handle it with care. These rules have proven useful (not legal advice, more in the guide to GDPR for Discord servers):
- Say openly that you log. State in your server rules that deleted and edited messages are logged for moderation.
- Only the team sees the log. The automatically created "Logs" category is already set up that way. For channels you built yourself, check that @everyone can't see them.
- Only log what you need. Exclude sensitive areas such as support channels or channels for personal topics via Ignored channels.
- Don't pass logs on. Content from the log belongs in moderation, not in public channels or on other servers.
- Clean up old entries. Log entries stay as long as the channel exists. Delete old entries regularly or recreate the log channel after a few months.
You can write down how your team handles this kind of information in the guide on your moderation team.
Checklist
- Logging switched on in the dashboard under Logs
- Message deleted, Message edited and Bulk delete enabled
- Log channels created with Create channels, visible to the team only
- Fallback channel set
- Lizbot role has View Audit Log
- Team, support and bot channels in Ignored channels
- Note about logging in your server rules
- Tested with your own deletion and one by someone else
Common mistakes
- Log channel visible to everyone: then every member reads deleted messages, and the whole point is turned upside down.
- Forgetting the Audit Log permission: the log runs, but the By field is missing when someone else deletes a message.
- Logging everything, reading nothing: with voice and role events in the same channel, deleted messages get lost. Use the per area layout.
- Turning it on only after an incident: the log only helps for the future.
- Lizbot can't see private channels: no access, no log. Check the channel permissions.
If you often look for deleted messages because of spam or scam links, AutoMod complements the log: it catches such messages before anyone has to delete them. You find more about all log events on the Logging page.
FAQ
Can I recover deleted messages on Discord?
No. Discord has no recycle bin and no way to restore messages, not even for admins. Only a log that was already running before the deletion has recorded the content.
Can the server owner see deleted messages?
Not directly. The owner sees in the Audit Log who deleted other people's messages, but never the content. The text is only visible in a message log written by a bot like Lizbot.
Why is the By field missing in a log entry?
Usually the author deleted their own message, and Discord doesn't create an Audit Log entry for that. Other reasons: the Lizbot role lacks the View Audit Log permission, the message was no longer in the cache, or Discord merged several deletions by a moderator into an older Audit Log entry.
Why does the log say "no text, or no longer cached"?
The message was already older when it was deleted, or it only consisted of an attachment. Discord doesn't send the content along with a deletion, and Lizbot only knows it for recent messages.
Does the message log cost anything?
No. Logging with all events is included in the Free plan. Pro and Studio only extend how long logs and statistics are kept in the dashboard.
Does a member notice that their message was logged?
No, Lizbot doesn't send a notification for that. That's why you should state openly in your server rules that deleted and edited messages are logged.
Matching Lizbot features
More guides
- Moderation & safety9 min read
Set up Discord AutoMod: block bad words, spam, links and phishing
Set up Discord AutoMod: word filter, spam protection, links, invites and phishing. Discord's own AutoMod vs. a bot AutoMod compared, with recommended settings.
Read more - Moderation & safety8 min read
Set up Discord verification: button, captcha and rules acceptance
Set up Discord verification with a button, captcha or email code, have members accept your rules and keep alt accounts out. Step by step with Lizbot.
Read more - Moderation & safety8 min read
Set up Discord raid protection: protect your server from raids, spam and nukes
Set up Discord raid protection: detect join waves, lockdown, alt accounts, anti-nuke and backups. Protect your server and respond right in an emergency.
Read more
Let Liz handle it for you
Invite Lizbot, set it up in the dashboard, done. The Free plan stays free.
Rather ask first? In the support Discord

