Moderation Module

Logging

A record of what happens on your server. Route events, member joins, message edits and deletes, role changes, moderation actions, and more, to the log channels you choose.

Where to find it: run /config Category dropdown Moderation Logging. Toggle the module on first.

How it works

You pick a group of events, then pick the channel those events log to. Repeat for as many event/channel pairings as you like, for example send message deletes to #message-logs and member joins to #join-logs.

Good to know

Keep noisy events (message edits/deletes) in their own channel so they don't bury important ones like bans and role changes.

Set up your logs

  1. Choose Configure. Select the events you want to track from the list.
  2. Pick the channel those selected events should be sent to.
  3. Repeat Configure for other event groups you want in different channels.
  4. (Optional) Use Blacklist to stop logging from specific channels, categories, or roles you don't care about.
The bot needs View Channel, Send Messages, and Embed Links in each log channel.

Events you can log

EventWhat gets logged
ChannelsChannel and category creations, deletions, and updates.
ThreadsThread creations, deletions, and updates.
PinsMessage pins and unpins.
AutoModAutoMod rule creations, deletions, and updates.
EmotesSticker and emoji creations, deletions, and updates.
Server EventsScheduled event creations, deletions, and updates.
Server RolesRole creations, deletions, and updates.
Server UpdatesServer setting changes such as icon, vanity, and name.
SoundboardSoundboard sounds added, deleted, or edited (name, volume, emoji).
WebhooksWebhook creations, deletions, and updates.
ReactionsReactions members remove.
PollsPolls ending.
MessagesMessage deletions and edits.
User RolesRoles added to or removed from members.
User EventsMembers subscribing to or leaving scheduled events.
InvitesInvite creations and deletions.
ModerationBans, unbans, kicks, mutes, and unmutes.
JoinMember joins, including the join method: the invite code and who made it, your vanity URL, or who added a bot.
LeaveMember leaves.
BoostsServer boosts and unboosts.
VoiceMembers joining, leaving, and switching voice channels.
AvatarAvatar changes.
NicknameNickname changes.
TagMembers adding or removing the server tag.
To see which invite someone used, the bot needs the Manage Server permission. Without it the join method line is left out. When the bot can't tell which invite was used (for example Server Discovery joins), it shows Unknown.

Reference: all settings

SettingWhat it does
ConfigureChoose events and assign the channel they log to.
ResetRemove logging for selected events.
BlacklistIgnore logs coming from certain channels, categories, or roles.

Troubleshooting

ProblemFix
An event isn’t loggingRe-open Configure and confirm that event is selected with a channel assigned.
A channel is spamming logsAdd it under Blacklist to ignore events from there.
Nothing logs at allCheck the bot can View/Send/Embed in the chosen log channel.
Join logs have no join methodGive the bot the Manage Server permission so it can read invite uses.