Logging
A record of what happened, in the channels you choose.
Discord's own audit log keeps 90 days, shows no message content, and is awkward to read. Logging writes the same events into a channel of your own, in a form somebody can actually scan.
Setting it up
- 1Make the channels first. One is enough to start; four is the usual arrangement, and mixing everything into one channel makes the busy categories bury the important ones.
- 2Hide them from everybody except moderators. A log channel shows deleted messages, which means it shows what somebody deleted because they regretted it.
- 3Run /setup_autologs once per category, picking the category and the channel.
- 4Delete one of your own messages to check it arrives. If nothing appears, the bot cannot write in that channel.
| Category | What lands there |
|---|---|
members | Joins, leaves, nickname changes, role changes. |
moderation | Bans, kicks, timeouts, warnings. The one to read first when something went wrong. |
voice | Who joined, left and moved between voice channels. |
messages | Edits and deletions, with the previous content. |
The messages category is the one to think about before switching on. It means the bot keeps a copy of deleted messages where moderators can read them. That is often exactly what you want and occasionally a thing your members would want to know about. Say so in your rules.
From the website
The Logs module has all four channels as pickers on one page, which is less back-and-forth than four commands. It also shows which ones are currently unset.