moderation
Logging
Routes member, message, role, channel, moderation, voice, and platform events to configured log channels, with redaction, retention, and a searchable dashboard audit log.
Enabled by defaultRequires the GuildMembers privileged intentRequires the MessageContent privileged intent
A quiet, searchable record of everything that happened in the server.
Why gaming communities love it
- Scrims and tournaments generate channel and role changes fast; a searchable log means staff can reconstruct "what changed before the match started" in seconds.
- Message-content capture is off by default — logging tracks that an edit or delete happened without storing what was said unless a server explicitly opts in.
- Retention settings and CSV export make it easy for a community to keep only what it needs and hand a clean record to a co-owner or new head-mod.
- Bot errors and webhook failures get logged too, so staff find out about a broken integration before players do.
Full command reference
| Command | Description | Who can use it | Example |
|---|---|---|---|
/logs set | Route a kind of event to a log channel. | Moderator+ | /logs set kind:"kind" channel:#general |
/logs disable | Stop logging a kind of event (keeps its channel mapping for later). | Moderator+ | /logs disable kind:"kind" |
/logs status | Show current log channel mapping, retention, and intent status. | Moderator+ | /logs status |
/logs retention | Set how many days of log events to keep. | Moderator+ | /logs retention days:10 |
/logs test | Send a sample log entry through the real pipeline. | Moderator+ | /logs test kind:"kind" |
/logs search | Search stored log events for a user. | Moderator+ | /logs search user:@user [kind:"kind"] [since:"since"] |
/logs redact add | Add a custom redaction regex pattern. | Moderator+ | /logs redact add pattern:"pattern" |
/logs redact remove | Remove a custom redaction pattern. | Moderator+ | /logs redact remove pattern:"pattern" |
/logs redact list | List built-in and custom redaction patterns. | Moderator+ | /logs redact list |