Discord bot
Logging
Every change as Before → After: messages, members, roles, channels and their permissions, every server setting, emojis, threads and voice, each with who did it from the server's audit log.
What a log looks like#
- Who it's about at the top with their name and avatar, then where it happened.
- Before ➜ After for every change. Short values sit side by side (
#general➜#chat); long ones (a message, a topic, the server description) get a Before block and an After block. - What changed in an edit, word by word: removed words struck through, new ones in bold.
- By: the moderator from the audit log, with the reason they gave.
- Buttons: Jump to message on edits, Open channel on channel changes and deletes.
- IDs in the footer (message, user, channel, role) to search for later.
Prefer shorter cards? Pick Compact in Panel → Logging: one line per change. The page shows a live preview of both.
Setting it up#
- Pick a main log channel in the setup wizard or Panel → Settings. Every category goes there unless you give it its own channel.
- Give busy categories their own channel, like
#message-logsand#voice-logs. - Switch single events off, for example role updates, without losing the rest of the category.
Categories
| message | Deleted messages (with text and attachments), edits (changed words marked), bulk deletes. | |
| member | Joins (with account age, new accounts flagged), leaves, kicks, roles, nicknames, timeouts, bans, unbans, boosts, profile changes. | |
| mod | Bot moderation actions and AutoMod hits and actions. | |
| tickets | Tickets opened, claimed and closed (with the transcript and, if on, an AI summary). | |
| server | Channels (name, topic, slowmode, category, bitrate, user limit, region), channel permissions per role and member (✅ allowed, ❌ denied, – not set), roles (name, colour, icon, shown separately, mentionable, permissions given and taken: a warning for powerful ones), emojis and stickers by name (added, removed, renamed), invites, webhooks and every server setting (name, icon, banner, description, vanity URL, verification, content filter, notifications, 2FA, AFK, system and rules channels, language, boost bar, ownership). | |
| threads | Threads created, deleted and changed (name, archived, locked, slowmode, hide-after time). | |
| voice | Joins, leaves, switching channels, moves and disconnects by moderators, and server mute / deafen. | |
| commands | own channel only | Every command used. Only posts when it has its own channel, so it can't flood the main log. |
| economy | own channel only | Coins given or taken by staff, and big transfers (above the amount set in Economy). |
Ignoring noise#
- Ignored channels: nothing from these is logged (a staff chat or a bot spam channel).
- Ignored roles: messages from members with these roles aren't logged.
- Bots: messages from bots are skipped unless you turn them on.
- Who did it: the bot reads the audit log to name the moderator behind a ban, a role change or a deleted channel. Turn it off if the bot has no View Audit Log permission.
Permissions
The bot needs View Channel and Send Messages in each log channel, Embed Links to post logs and View Audit Log to say who did something. Message text in deletes and edits needs the Message Content intent, which the Spotlight bot has.After a restart
The bot remembers every channel, role and server setting, so changes made while it was offline are logged as soon as it's back.Everything logged is also listed in the panel's Logs page. "Who invited whom" has its own invite log channel in Panel → Roles & channels, and top inviters show in Server stats.