,log
Shows how to set up server logging, including how to route all events or a single event type to a channel and how to turn logging on or off.
,logRoute server events to one channel or split event types across channels.
Appear stores an enabled state and a destination for each event type. You can route every event to one text channel or send different event families to different channels. Changing a route replaces only that event's destination.
Omit the event name to point every supported event at one channel and enable logging.
,log add #logsRun the add command once per event and destination.
,log add #message-logs messagesConfirm every event points to the intended channel and check whether logging is enabled.
,log listShows how to set up server logging, including how to route all events or a single event type to a channel and how to turn logging on or off.
,logRoutes a log event type to a channel and turns logging on. Leave the type off to send every type to that one channel. Setting a type again moves it to the new channel.
,log add <channel> [loggingEvent],log add #channel loggingeventchannelRequiredloggingEventOptionalShows which channel each log event type is currently routed to and whether logging is enabled.
,log listThe source registry accepts voice, moderation, members, channels, roles, guild, messages, timeout, jail, invites, join, leave, reactions, polls, webhooks, soundboard, and emojis. Omit the event or use all to route everything.
| Shortcut | Equivalent route |
|---|---|
logs messages #channel | log add #channel messages |
logs members #channel | log add #channel members |
logs roles #channel | log add #channel roles |
logs channels #channel | log add #channel channels |
logs voice #channel | log add #channel voice |
Disable pauses delivery without deleting routes, so enable can resume the saved setup. Remove deletes one event route. Reset clears every route and returns logging to its default off state; it cannot be undone.
Stops all log events from being posted while keeping your configured routes saved, so `log enable` restores them.
,log disableResumes posting log events to the channels you already have configured.
,log enableStops routing one log event type so it is no longer posted anywhere. Other routes are left alone.
,log remove <loggingEvent>,log remove loggingeventloggingEventRequiredClears every logging route and returns logging to its default off state. Cannot be undone.
,log resetlog list and confirm logging is enabled and the event has a route.