Events
Information: Retrieve-Values
For some event, you can see a retrieve values
section. Some values are given by Discord directly, and others needs another request to Discord to get the value (those are in as retrieve values
).
For instance in the Reaction Add Event, Discord gives us the message ID only, so you can use its retrieve value to get the actual message:
Bot Join Event
Requires DiSky v4.23.0-alpha2 No
Fired when the bot joins a new guild/server. This event is useful for setting up initial configurations when the bot enters a new server, such as adding default roles, sending welcome messages, or initializing server-specific settings.
Bot Leave Event
Requires DiSky v4.23.0-alpha2 No
Fired when the bot leaves a guild/server. This event can be used for cleanup operations or logging when the bot is removed from a server, either by being kicked, the server being deleted, or the bot owner removing it manually.
Bot Shutdown Event
Requires DiSky v4.23.0-alpha2 No
Fired when a bot is shutting down or being stopped. This event is triggered when the bot's connection to Discord is closing, which can happen during server restarts, plugin reloads, or manual bot shutdowns. It provides an opportunity to perform cleanup operations or save data before the bot goes offline.
Guild Ready Event
Requires DiSky v4.23.0-alpha2 No
Fired when a guild is fully loaded and all its data is accessible. This event occurs for each guild the bot is connected to when starting up. It's fired before the global Ready event and indicates that guild-specific data like members, channels, and roles have been loaded and are available for use.
Bot Ready Event
Requires DiSky v4.23.0-alpha2 No
Fired when a bot is fully loaded and connected to Discord. This event is triggered once all guilds are ready and the bot's connection to Discord is completely established. This is the ideal event to use for initialization code that needs to run once when the bot starts up, such as scheduling tasks or initializing resources.
Interaction Command Events
These events are fired when a user interacts with a command:
- Slash Command: Fired when a user executes a slash command. (+ includes an auto-complete event)
- Message Command: Fired when a user interacts with a message command (right click on a message).
- User Command: Fired when a user interacts with a user command (right click on a user).
Refer to individual event documentation for more details.
Slash Command
Requires DiSky v4.23.0-alpha2 No
Fired when a user execute a specific slash command. Use 'used command' to get the command name. Don't forget to either reply or defer the interaction, You can only defer using the wait pattern e.g: 'defer the interaction and wait [silently]. You can get value of arguments using 'argument "name" as string' for example.
You can reply with a modal in this event.
(execute|use)[d] [slash] command
- Returns astring
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-string
event-user
event-guild
event-member
Message Command
Requires DiSky v4.23.0-alpha2 No
Fired when someone click on a message application command.
Use used command
to get the command name and target message
for the targeted message. Don't forget to either reply to the interaction. Defer doesn't work here.
You can reply with a modal in this event.
(execute|use)[d] [message] command
- Returns astring
.[the] target message
- Returns amessage
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-string
event-user
event-guild
event-member
event-message
User Command
Requires DiSky v4.23.0-alpha2 No
Fired when someone click on a user application command.
Use used command
to get the command name and target user
for the targeted user. Don't forget to either reply to the interaction. Defer doesn't work here.
You can reply with a modal in this event.
(execute|use)[d] [user] command
- Returns astring
.[the] target user
- Returns auser
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-string
event-user
event-guild
event-member
Slash Command Completion Event
Requires DiSky v4.23.0-alpha2 No
Fired when Discord requests argument autocompletion for a slash command. Use 'event-string' to get the command name. Use the 'return' effect to provide completion choices to the user. You can access the focused argument with 'current argument' and other argument values with 'argument "name" as type'.
current( |-)arg[ument] [name]
- Returns astring
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-guild
event-member
event-user
event-string
Channel Events
These events are fired when a channel is created, deleted, or updated. This include all types of channels, including text, voice, forum, private, ... channels.
Channel Create Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel is created.
Channel Delete Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel is deleted.
Channel Name Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's name is changed.
[(new|current)] [channel] name
- Returns astring
.(old|past|previous) [channel] name
- Returns astring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Topic Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's topic is changed.
[(new|current)] [channel] topic
- Returns astring
.(old|past|previous) [channel] topic
- Returns astring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel NSFW Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's NSFW status is changed.
[(new|current)] [channel] nsfw state
- Returns aboolean
.(old|past|previous) [channel] nsfw state
- Returns aboolean
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Position Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's position is changed.
[(new|current)] [chaannel] position
- Returns ainteger
.(old|past|previous) [chaannel] position
- Returns ainteger
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Parent Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's parent category is changed.
[(new|current)] [category] parent
- Returns acategory
.(old|past|previous) [category] parent
- Returns acategory
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Slowmode Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's slowmode setting is changed.
[(new|current)] [channel] slowmode
- Returns anumber
.(old|past|previous) [channel] slowmode
- Returns anumber
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Type Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's type is changed.
[(new|current)] [channel] type
- Returns achanneltype
.(old|past|previous) [channel] type
- Returns achanneltype
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel User Limit Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a voice channel's user limit is changed.
[(new|current)] [channel] user limit
- Returns anumber
.(old|past|previous) [channel] user limit
- Returns anumber
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Bitrate Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a voice channel's bitrate is changed.
[(new|current)] [channel] bitrate
- Returns anumber
.(old|past|previous) [channel] bitrate
- Returns anumber
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Region Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a voice channel's region is changed.
[(new|current)] [channel] region
- Returns astring
.(old|past|previous) [channel] region
- Returns astring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Voice Status Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a voice channel's status (video or voice) is changed.
[(new|current)] [channel] voice status
- Returns astring
.(old|past|previous) [channel] voice status
- Returns astring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Applied Tags Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a forum channel's applied tags are changed.
[(new|current)] [applied] tags
- Returns a list offorumtag
.(old|past|previous) [applied] tags
- Returns a list offorumtag
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Archived Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a thread channel's archived status is changed.
[(new|current)] [channel] archive[d] state
- Returns aboolean
.(old|past|previous) [channel] archive[d] state
- Returns aboolean
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Archive Timestamp/Date Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a thread channel's archive timestamp is changed.
[(new|current)] [channel] archive (timestamp|date)
- Returns adate
.(old|past|previous) [channel] archive (timestamp|date)
- Returns adate
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Auto Archive Duration Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a thread channel's auto archive duration is changed.
[(new|current)] [channel] auto archive duration
- Returns atimespan
.(old|past|previous) [channel] auto archive duration
- Returns atimespan
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Default Layout Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a forum channel's default layout is changed.
[(new|current)] [channel] default layout
- Returns astring
.(old|past|previous) [channel] default layout
- Returns astring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Default Reaction Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a forum channel's default reaction is changed.
[(new|current)] [channel] default reaction
- Returns aemote
.(old|past|previous) [channel] default reaction
- Returns aemote
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Default Sort Order Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a forum channel's default sort order is changed.
[(new|current)] [channel] default sort order
- Returns astring
.(old|past|previous) [channel] default sort order
- Returns astring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Default Thread Slowmode Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a forum channel's default thread slowmode is changed.
[(new|current)] [channel] default thread slowmode
- Returns anumber
.(old|past|previous) [channel] default thread slowmode
- Returns anumber
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Flags Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a channel's flags are changed.
[(new|current)] [channel] flags
- Returns a list ofstring
.(old|past|previous) [channel] flags
- Returns a list ofstring
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Invitable Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a thread channel's invitable status is changed.
[(new|current)] [channel] invitable [state]
- Returns aboolean
.(old|past|previous) [channel] invitable [state]
- Returns aboolean
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Channel Locked Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a thread channel's locked status is changed.
[(new|current)] [channel] locked [state]
- Returns aboolean
.(old|past|previous) [channel] locked [state]
- Returns aboolean
.event-guild
event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
Role Events
These events are triggered when a role is created, deleted, or updated in a Discord server. They provide access to the role and guild involved in the event. These events are useful for tracking changes to roles, managing permissions, and implementing role-based features.
Role Create Event
Requires DiSky v4.23.0-alpha2 No
Fired when a new role is created in a guild. This event provides access to the newly created role and the guild it belongs to. It's useful for tracking administrative changes or implementing role management systems.
Role Delete Event
Requires DiSky v4.23.0-alpha2 No
Fired when a role is deleted from a guild. This event provides access to the deleted role and the guild it belonged to. It can be used for auditing purposes or to trigger cleanup actions in your bot.
Role Color Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the color of a role changes. This event provides access to both the old and new colors of the role. It can be used for tracking aesthetic changes to roles or for synchronization systems.
[(new|current)] role color
- Returns acolor
.(old|past|previous) role color
- Returns acolor
.event-guild
event-role
Role Name Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the name of a role changes. This event provides access to both the old and new names of the role. It's useful for tracking role identity changes or updating external systems that reference roles by name.
[(new|current)] role name
- Returns astring
.(old|past|previous) role name
- Returns astring
.event-guild
event-role
Role Hoisted Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the hoisted status of a role changes. Hoisted roles are displayed separately in the member list. This event provides access to both the old and new hoisted states. It's useful for tracking changes to role visibility in the member sidebar.
[(new|current)] role hoisted [state]
- Returns aboolean
.(old|past|previous) role hoisted [state]
- Returns aboolean
.event-guild
event-role
Role Icon Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the icon of a role changes. This event provides access to both the old and new icon URLs. It can be used for tracking visual changes to roles or updating external systems.
[(new|current)] role icon
- Returns astring
.(old|past|previous) role icon
- Returns astring
.event-guild
event-role
Role Position Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the position of a role changes in the role hierarchy. This event provides access to both the old and new positions. It's useful for tracking changes to the role hierarchy that may affect permissions.
[(new|current)] role position
- Returns ainteger
.(old|past|previous) role position
- Returns ainteger
.event-guild
event-role
Role Permissions Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the permissions of a role change. This event provides access to both the old and new permission sets. It's crucial for security monitoring, permission auditing, and tracking administrative changes.
[(new|current)] role permission[s]
- Returns a list ofpermission
.(old|past|previous) role permission[s]
- Returns a list ofpermission
.event-guild
event-role
Role Mentionable Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when the mentionable status of a role changes. This event tracks whether a role can be mentioned by regular users. It provides access to both the old and new mentionable states. It's useful for tracking changes that affect role notifications and visibility.
[(new|current)] role mentionable [state]
- Returns aboolean
.(old|past|previous) role mentionable [state]
- Returns aboolean
.event-guild
event-role
Guild Events
Events related to guilds (servers) on Discord. These events are triggered when certain actions occur within a guild, such as changes to settings, member actions, or administrative tasks.
AutoMod Execution
Requires DiSky v4.23.0-alpha2 No
Fired when an automated automod response has been triggered through an automod Rule. Can be used to get the channel, user content, keyword that was found, the automod response and the id of the automod rule, the user, the id of the message which triggered the rule, the guild it occurred in, and the id of the alert message sent to the alert channel (if configured).
Guild Ban Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user is banned from a guild. A member doesn't exist here because the member is not in the guild anymore! Can be used to get the banned user, the author and the guild.
Guild Join Event
Requires DiSky v4.23.0-alpha2 No
Fired when the bot joins a guild. Use this to set up initial configurations or welcome messages.
Guild Log Entry Create Event
Requires DiSky v4.23.0-alpha2 No
Fired when a new log entry is created in a guild. Can be used to monitor administrative actions within a guild.
Check the retrieve values docs!
author
Guild Unban Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user is unbanned from a guild. Can be used to get the unbanned user, the author and the guild.
Invite Create Event
Requires DiSky v4.23.0-alpha2 No
Fired when an invite is created in a guild. Can be used to get the invite properties, the channel, the author and the guild.
Invite Delete Event
Requires DiSky v4.23.0-alpha2 No
Fired when an invite is deleted from a guild. Can be used to get the invite code, the channel, the author and the guild.
Guild AFK Channel Event
Requires DiSky v4.23.0-alpha2 No
Fired when the AFK channel of a guild changes. Can be used to get the old/new channel, the author and the guild.
[(new|current)] afk channel
- Returns avoicechannel
.(old|past|previous) afk channel
- Returns avoicechannel
.event-guild
Guild AFK Timeout Event
Requires DiSky v4.23.0-alpha2 No
Fired when the AFK timeout of a guild changes. Can be used to get the old/new timeout value, the author and the guild.
[(new|current)] afk timeout
- Returns anull
.(old|past|previous) afk timeout
- Returns anull
.event-guild
Guild Banner Event
Requires DiSky v4.23.0-alpha2 No
Fired when the banner of a guild changes. Can be used to get the old/new banner URL, the author and the guild.
[(new|current)] banner
- Returns astring
.(old|past|previous) banner
- Returns astring
.event-guild
Guild Boost Count Update
Requires DiSky v4.23.0-alpha2 No
Fired when the boost count of a guild changes. Can be used to get the old/new count, and the guild.
[(new|current)] boost count
- Returns ainteger
.(old|past|previous) boost count
- Returns ainteger
.event-guild
Guild Boost Tier Update
Requires DiSky v4.23.0-alpha2 No
Fired when the boost tier of a guild changes. Can be used to get the old/new tier, and the guild.
[(new|current)] boost tier
- Returns astring
.(old|past|previous) boost tier
- Returns astring
.event-guild
Guild Icon Event
Requires DiSky v4.23.0-alpha2 No
Fired when the icon of a guild changes. Can be used to get the old/new icon URL, the author and the guild.
[(new|current)] icon
- Returns astring
.(old|past|previous) icon
- Returns astring
.event-guild
Guild Name Event
Requires DiSky v4.23.0-alpha2 No
Fired when the name of a guild is changed. Can be used to get the old/new name, the author and the guild.
[(new|current)] guild name
- Returns astring
.(old|past|previous) guild name
- Returns astring
.event-guild
Guild Owner Event
Requires DiSky v4.23.0-alpha2 No
Fired when the owner of a guild changes. Can be used to get the old/new owner, the author and the guild.
[(new|current)] owner
- Returns amember
.(old|past|previous) owner
- Returns amember
.event-guild
Guild Splash Event
Requires DiSky v4.23.0-alpha2 No
Fired when the splash image of a guild changes. Can be used to get the old/new splash URL, the author and the guild.
[(new|current)] splash
- Returns astring
.(old|past|previous) splash
- Returns astring
.event-guild
Guild Voice Deafen Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member is deafened or undeafened by the guild. Can be used to track moderation actions in voice channels.
Guild Voice Mute Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member is muted or unmuted by the guild. Can be used to track moderation actions in voice channels.
Guild Voice Mute Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member is muted or unmuted by the guild. Can be used to track moderation actions in voice channels.
Guild Voice Request To Speak Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member requests to speak in a stage channel. Can be used to track moderation actions in voice channels.
You may use event-boolean
to check if the state is true (user requested to speak) or false (user cancelled the request).
[(new|current)] request to speak
- Returns adate
.(old|past|previous) request to speak
- Returns adate
.event-boolean
event-member
event-guild
Guild Voice Stream Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member starts or stops streaming in a voice channel. Can be used to track moderation actions in voice channels.
You may use event-boolean
to check if the state is true (user started streaming) or false (user stopped streaming).
This DOES NOT include camera! Use the GuildVoice Video Event
for that.
Guild Voice Video Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member starts or stops its camera in a voice channel. Can be used to track moderation actions in voice channels.
You may use event-boolean
to check if the state is true (user started its camera) or false (user stopped its camera).
This DOES NOT include streams! Use the Guild Voice Stream Event
instead.
Thread Join Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member joins a tread, either by joining itself or by a moderator can be used to get the thread, the guild and the member.
Thread Leave Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member leaves a thread, either by leaving itself or by a moderator can be used to get the thread, the guild and the member.
Component Interaction Events
Events that are fired when a component is interacted with. This includes buttons, select menus, and modals.
Check individual details to see if you are able to show a modal!
Button Click
Requires DiSky v4.23.0-alpha2 No
Fired when any button sent by the button is clicked.
You can use the clicked id
to get the clicked button id.
Modal can be shown in this interaction!
You can reply with a modal in this event.
click[ed] (id|button)
- Returns astring
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-string
event-button
event-guild
event-user
event-member
event-number
event-message
Modal Received
Requires DiSky v4.23.0-alpha2 No
Fired when a modal has been sent to the bot from any user. Use 'received modal' to get the modal id. Don't forget to either reply or defer the interaction.
Modal can NOT be shown in this interaction!
receive[d] (id|modal)
- Returns astring
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-string
event-guild
event-user
event-member
event-number
event-message
String Dropdown Click Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user selects one or more choices in a string dropdown menu. This event provides access to the selected string values and dropdown details. Don't forget to either reply to or defer the interaction to acknowledge it. You can show a modal in response to this interaction.
You can reply with a modal in this event.
select[ed] value[s]
- Returns a list ofstring
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-message
event-guild
event-member
event-user
event-dropdown
event-string
event-interaction
Entity Dropdown Click Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user selects one or more entities in an entity dropdown menu. This event provides access to the selected entities (users, roles, channels, etc.). Don't forget to either reply to or defer the interaction to acknowledge it. You can show a modal in response to this interaction.
You can reply with a modal in this event.
select[ed] entit(y|ies)
- Returns a list ofobject
.event-channel
event-messagechannel
event-audiochannel
event-voicechannel
event-stagechannel
event-privatechannel
event-guildchannel
event-textchannel
event-newschannel
event-threadchannel
event-forumchannel
event-message
event-guild
event-member
event-user
event-dropdown
event-string
event-interaction
Message Events
These events are fired when a message is received, edited or deleted.
This will be fired, by default, both guild & private messages, use the event is from guild
condition to avoid confusion in your events.
Message Receive
Requires DiSky v4.23.0-alpha2 No
Fired when any bot receive an actual message. This will be fired, by default, both guild & private messages, use the 'event is from guild' condition to avoid confusion.
Message Delete
Requires DiSky v4.23.0-alpha2 No
Fired when any message is deleted. Use 'event-string' to get the old message content, only works if this message was cached by DiSky before hand. This will be fired, by default, both guild & private messages, use the 'event is from guild' condition to avoid confusion.
Message Edit
Requires DiSky v4.23.0-alpha2 No
Fired when any message is edited / updated. Use 'event-string' to get the old message content, only works if this message was cached by DiSky before hand. This will be fired, by default, both guild & private messages, use the 'event is from guild' condition to avoid confusion.
Poll Vote Add
Requires DiSky v4.23.0-alpha2 No
Fired when a user adds their vote to a poll in a message.
Check the retrieve values docs!
message
member
user
Poll Vote Remove
Requires DiSky v4.23.0-alpha2 No
Fired when a user removes their vote from a poll in a message.
Reaction Add
Requires DiSky v4.23.0-alpha2 No
Fired when a message, that can be seen by the bot, receive a reaction. This will be fired, by default, both guild & private messages, use the 'event is from guild' condition to avoid confusion.
Check the retrieve values docs!
message
Reaction Remove
Requires DiSky v4.23.0-alpha2 No
Fired when an user remove a reaction from a specific message. This will be fired, by default, both guild & private messages, use the 'event is from guild' condition to avoid confusion.
Check the retrieve values docs!
message
Reaction Remove All
Requires DiSky v4.23.0-alpha2 No
Fired when an user remove every reactions from a message. This will be fired, by default, both guild & private messages, use the 'event is from guild' condition to avoid confusion.
Check the retrieve values docs!
message
User/Member Events
Events related to user/member actions and updates. Keep in mind most user update events requires a member to be seen by the bot in any guild, with the intent 'guild presence' enabled.
Member Join Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member joins a guild.
Member Leave Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member is removed from a guild either by leaving or being punished. Use the ban/kick event instead to check the exact reason.
Role Add Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member receives new roles. This is a log action, so event-author returns who made the action and event-roles returns a list of added roles.
added roles
- Returns a list ofrole
.event-guild
event-member
Role Remove Event
Requires DiSky v4.23.0-alpha2 No
Fired when roles are removed from a member. This is a log action, so event-author returns who made the action and event-roles returns a list of removed roles.
removed roles
- Returns a list ofrole
.event-guild
event-member
Member Nickname Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member changes their nickname in a guild.
[(new|current)] [member] nickname
- Returns astring
.(old|past|previous) [member] nickname
- Returns astring
.event-guild
event-member
Member Avatar Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member changes their server-specific avatar.
[(new|current)] [member] avatar url
- Returns astring
.(old|past|previous) [member] avatar url
- Returns astring
.event-guild
event-member
Member Accept Screen Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member has agreed to membership screen requirements. This can be useful for adding roles since the member is not fully available until they've accepted the screen requirements.
[(new|current)] [member] pending state
- Returns aboolean
.(old|past|previous) [member] pending state
- Returns aboolean
.event-guild
event-member
Member Boost Time Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member's boost time is updated, which can happen when they start or stop boosting a server.
[(new|current)] [member] boost time
- Returns adate
.(old|past|previous) [member] boost time
- Returns adate
.event-guild
event-member
event-user
Member Boost Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member boosts a server, which is detected through a system message in the server.
Member Timeout Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member is timed out (temporarily restricted from interacting with the server).
[(new|current)] [member] timeout end
- Returns adate
.(old|past|previous) [member] timeout end
- Returns adate
.event-guild
event-member
event-user
Member Self Mute Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member mutes or unmutes themselves in a voice channel.
[(new|current)] [member] mute[d] state
- Returns aboolean
.(old|past|previous) [member] mute[d] state
- Returns aboolean
.event-guild
event-member
Member Self Deafen Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member deafens or undeafens themselves in a voice channel.
[(new|current)] [member] deafen[ed] state
- Returns aboolean
.(old|past|previous) [member] deafen[ed] state
- Returns aboolean
.event-guild
event-member
Member Voice Join Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member joins a voice or stage channel. This event also fires when a member moves from one voice channel to another.
[(new|current)] [joined] voice channel
- Returns aaudiochannel
.(old|past|previous) [joined] voice channel
- Returns aaudiochannel
.[(new|current)] [joined] voice
- Returns avoicechannel
.(old|past|previous) [joined] voice
- Returns avoicechannel
.[(new|current)] [joined] stage
- Returns astagechannel
.(old|past|previous) [joined] stage
- Returns astagechannel
.event-guild
event-member
Member Voice Leave Event
Requires DiSky v4.23.0-alpha2 No
Fired when a member leaves a voice or stage channel. This includes both disconnecting completely and moving to another channel.
[(new|current)] [left] voice channel
- Returns aaudiochannel
.(old|past|previous) [left] voice channel
- Returns aaudiochannel
.[(new|current)] [left] voice
- Returns avoicechannel
.(old|past|previous) [left] voice
- Returns avoicechannel
.[(new|current)] [left] stage
- Returns astagechannel
.(old|past|previous) [left] stage
- Returns astagechannel
.event-guild
event-member
User Activity Order Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user changes their activity order. This event is triggered when a user starts a new activity or changes between activities. Activities include playing games, listening to music, streaming, or custom status messages.
user activit(y|ies)
- Returns a list ofactivity
.event-user
event-guild
event-member
User Avatar Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user changes their avatar. This event provides access to both the old and new avatar URLs. It can be used for monitoring profile changes or updating cached user information.
[(new|current)] avatar [url]
- Returns astring
.(old|past|previous) avatar [url]
- Returns astring
.event-user
User Discriminator Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user changes their discriminator. The discriminator is the four-digit number following a username (e.g., #1234). This event provides access to both the old and new discriminator values. Note: With Discord's migration to the new username system, this event may become less relevant.
[(new|current)] discriminator
- Returns astring
.(old|past|previous) discriminator
- Returns astring
.event-user
User Name Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user changes their username (not nickname). This event provides access to both the old and new usernames. It can be used for monitoring identity changes or updating user databases.
[(new|current)] name
- Returns astring
.(old|past|previous) name
- Returns astring
.event-user
User Online Status Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user changes their online status. This event provides access to both the old and new online status values. It can be used for tracking user presence, activity patterns, or triggering actions when users come online.
[(new|current)] online status
- Returns aonlinestatus
.(old|past|previous) online status
- Returns aonlinestatus
.event-user
event-member
event-guild
User Typing Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user starts typing in a channel. This event is triggered when the typing indicator appears for a user. It can be used to detect activity in channels or for interactive bot responses.
User Global Name Update Event
Requires DiSky v4.23.0-alpha2 No
Fired when a user changes their global display name. This event provides access to both the old and new global names. With Discord's new username system, this tracks the display name shown across all servers.
[(new|current)] global name
- Returns astring
.(old|past|previous) global name
- Returns astring
.event-user