List of log names
On this page all the available logs are listed
Logs, categorized by what they do, are listed here and are case sensitive. Individual logs are written in UPPER_CASE, while category names (which can be used in place of individual log names, see configuring channels) are Capitalized. Each one of them is separated by categories in the lists below. To log all events, use an asterisk (*
). All logs require the bot to have permission to view and send messages, embed links and attach files in the respective channels. Some logs require the bot to have the "View Audit Log" permission enabled at server level.
Moderation
This category is to log actions taken by moderators. Most of them are triggered by using bot commands, but those starting with AUDIT_
will read the data from Discord's audit log providing MoonlightBot has permission to do so.
BAN
INFRACTION_DELETE
KICK
MUTE
PAUSE_ROLE_ADD
PAUSE_ROLE_EXTEND
A role's length of time to be removed gets adjusted
PAUSE_ROLE_REMOVE
A role gets added back
REASON_UPDATE
ROLE_ADD
ROLE_REMOVE
A role gets removed
SELFROLE_ADD
SELFROLE_REMOVE
A user removes a self-assignable role from themselves
SOFTBAN
TEMPBAN_EXTEND
TEMPBAN_REMOVE
A temporary ban gets removed
TEMPMUTE_EXTEND
TEMPMUTE_REMOVE
A temporary ban gets removed
TEMPROLE_ADD
TEMPROLE_EXTEND
The length of a temporary role gets extended
TEMPROLE_REMOVE
A temporary role gets removed
TIMEOUT
TIMEOUT_REMOVE
A time out gets removed
UNBAN
UNMUTE
WARNING
Members
This category is for actions relating to members interacting with the server.
USER_JOIN
Someone joins
USER_LEFT
Someone leaves
Messages
This category is for things having to do with messages.
CHANNEL_CLEAN
MESSAGE_BULK_DELETE
A moderator bulk deletes a set of messages
MESSAGE_DELETE
A message is deleted
MESSAGE_EDIT
A message gets edited
MESSAGE_PIN_ADD
A message gets pinned
MESSAGE_PIN_REMOVE
A message gets unpinned
Debug
This category is for debugging purposes. Logs in this category are meant to aid in fixing errors that may prevent the bot from functioning correctly.
REACTION_ROLE_DEBUG
Last updated