How to set up a mod log channel in Discord
A private channel where every ban, kick and timeout shows up, with the moderator and the reason.
Discord has no mod log channel of its own. The audit log records what moderators do, but only admins can open it and entries disappear after 45 days. To get a mod log channel, make a private channel and let a logging bot post every ban, kick, timeout and role change there, with who did it and why.
What the log looks like
LoggerBot✓ App17:51
usheenes0622_01421
Member Banned
- User:
- @NowaK
- Moderator:
- @LoggerBot ( LoggerBot#7074 )
- Reason
- LoggerBot is taking Discord logging to the next level. — requested by mohssy
ID: 1266889469705977968 | Today at 17:51
A real ban log, as it shows up in a mod log channel.
Step 1: make a private channel
Create a text channel, for example #mod-logs. In its permissions, turn off View Channel for @everyone and allow it for your moderator role. Give LoggerBot View Channel, Send Messages and Embed Links in that channel.
Step 2: send the moderation logs there
- 1Add LoggerBot to your server. The moderation logs are free.
- 2Run
/setlogallto create a channel for each log category in one go, or open the dashboard and point the Modlogs category at#mod-logs. - 3Ban or time out a test account to check it works.
What a mod log shows
- Bans and unbans — who, by which moderator, and the reason.
- Kicks — who was removed and why.
- Timeouts — how long, and the reason given.
- Warnings — every /warn, kept in the member's warning history.
- Role changes — roles added or taken away, and by whom.
Mod log channel or audit log?
| Topic | Audit log | Mod log channel |
|---|---|---|
| Who can read it | People with View Audit Log | Whoever you let into the channel |
| How long it stays | 45 days | Until you delete it |
| Searchable | Filter by user and action | Discord search, plus the dashboard Log Viewer |
Frequently asked questions
Are moderation logs free?
Yes. Bans, kicks, timeouts, warnings and role changes are logged on the free plan.
Can members see the mod log?
Only if the channel permissions let them. Keep it private for your staff.
The logs don't show up. What now?
Check that LoggerBot can view and send messages in the channel. The Troubleshoot logging button in the dashboard checks this for you and tells you what is missing.
Related guides
Get a mod log channel
Every ban, kick and timeout with the moderator and reason. Free, set up in a minute.