# Logging

All actions taken by The Cleaner are logged into your logging channel. Each log entry contains the time in UTC when the log entry was queued, the main log entry, an optional reason and an optional referenced message (for deleted messages).

# Batching

Log messages are sent in batches at most every second to avoid Discord ratelimits.

# Logged actions

  • Messages deleted by Auto Moderator/Anti Spam
  • Punishments (timeouts/kick/bans)
  • Verification
  • Join / leave log (if enabled)
  • Raid notifications

# Fallback

If for some reason The Cleaner failed to deliver the log entry (eg no logging channel/channel deleted or missing permissions), the log entry will be sent to a fallback channel only accessible by the core developers of The Cleaner.

This fallback exists so that critical logs can be retrieved later.