Events
This page provides the events which are available for the EventEmitter which is returned by using the <Addon>.createEventListener() function.
menuSelect
Gets emitted when a member selects a value from a select menu.
buttonClick
Gets emitted when a member clicks on a button.
formSubmit
Gets emitted when a member submits a form
roleDelete
Gets emitted when a role gets deleted from a guild.
roleUpdate
Gets emitted when a role gets updated in a guild (name, color or permissions changes for example)
roleAdd
Gets emitted when a role gets created in a guild.
channelDelete
Gets emitted when a channel gets deleted from a guild.
channelUpdate
Gets emitted when a channel gets updated in a guild (name, topic or permissions changes for example)
channelAdd
Gets emitted when a channel gets created in a guild.
emojiDelete
Gets emitted when an emoji gets deleted from a guild.
emojiUpdate
Gets emitted when an emoji gets updated in a guild.
guildDelete
Gets emitted when the bot was removed from a guild.
guildNameChange
Gets emitted when the name of a guild gets changed.
guildDescriptionChange
Gets emitted when the description of a guild gets changed.
guildOwnerChange
Gets emitted when the guild gets a new owner.
guildBoost
Gets emitted when the amount of boosts of the guild changes.
guildAdd
Gets emitted when the bot gets added to a new guild.
reactionDelete
Gets emitted when a reaction gets removed from a message.
reactionAdd
Gets emitted when a new reaction gets added to a message.
messageUpdate
Gets emitted when a message gets changed.
messageDelete
Gets emitted when a message gets deleted.
message
Gets emitted when a new message gets send.
membersPrune
Gets emitted when a moderator prunes the members.
ticketClose
Gets emitted when a ticket gets closed.
levelUp
Gets emitted when a member goes a level up in the level system.
memberBan
Gets emitted when a member gets banned.
bannerChange
Gets emitted when the banner of a user gets changed.
avatarChange
Gets emitted when the avatar of a user gets changed.
discriminatorChange (deprecated)
Gets emitted when the discriminator of a user gets changed.
usernameChange
Gets emitted when a user changes their username.
roleChange
Gets emitted when a role gets added or removed from a member.
nicknameChange
Gets emitted when the nickname of a member gets changed.
memberMuteRemove
Gets emitted when a mute of a member gets removed.
memberMuteAdd
Gets emitted when a member gets muted.
memberKick
Gets emitted when a member gets kicked from a guild.
memberLeave
Gets emitted when a member leaves a guild.
memberAdd
Gets emitted when a member joins a guild.
voiceUpdate
Gets emitted when a voice state of a member gets updated (voice channel join or leave, gets muted or unmuted etc.)
inviteCreate
Gets emitted when a new invite has been created by a member.
inviteDelete
Gets emitted when an invite gets deleted from the server.
Last updated