List of log names

In this page all the available logs are listed

Categories

Log names are case sensitive. Individual logs are written in UPPER_CASE, while category names are Capitalized

If you want everything to be logged, use * as name. This will also include logs that will be introduced after you set it.

Moderation

Type

Description

BAN

Emitted when an user is banned

UNBAN

Emitted when an user is unbanned

MUTE

Emitted when an user is muted

UNMUTE

Emitted when an user is unmuted

KICK

Emitted when an user is kicked

WARNING

Emitted when an user is warned

SOFTBAN

Emitted when an user is softbanned

TEMPBAN_ADD

Emitted when an user is tempbanned

TEMPMUTE_ADD

Emitted when an user is tempmuted

TEMPROLE_ADD

Emitted when a temprole is added to an user

REASON_UPDATE

Emitted when the reason of an infraction is changed

TEMPROLE_EXTEND

Emitted when a temprole is extended

TEMPROLE_REMOVE

Emitted when a temprole is removed/has expired

TEMPMUTE_REMOVE

Emitted when a tempmute is removed/has expired

TEMPBAN_REMOVE

Emitted when a tempban is removed/has expired

AUDIT_KICK

Emitted when a user is kicked but not by the bot

AUDIT_BAN_ADD

Emitted when a user is banned, but not by the bot

ROLE_ADD

Emitted when a role is added through the role command

ROLE_REMOVE

Emitted when a role is removed through the role command

SELFROLE_ADD

Emitted when a selfrole is added (version 1.2.11 onward)

SELFROLE_REMOVE

Emitted when a selfrole is removed (version 1.2.11 onward)

Messages

Type

Description

CHANNEL_CLEAN

Emitted when a channel is cleaned

MESSAGE_DELETE

Emitted when a message is deleted

MESSAGE_EDIT

Emitted when a message is edited

MESSAGE_PIN_ADD

Emitted when a message is pinned

MESSAGE_PIN_REMOVE

Emitted when a pinned message is unpinned

Members

Type

Description

USER_JOIN

Emitted when an user joins the server

USER_LEFT

Emitted when an user leaves the server