Emitted when an auto moderation action is executed. Requires the AUTO_MODERATION_EXECUTION
intent.
Emitted when an auto moderation rule is created. Requires the AUTO_MODERATION_CONFIGURATION
intent.
Emitted when an auto moderation rule is deleted. Requires the AUTO_MODERATION_CONFIGURATION
intent.
Emitted when an auto moderation rule is updated. Requires the AUTO_MODERATION_CONFIGURATION
intent.
Emitted when a channel is created. Guild channels require the GUILDS
intent.
Emitted when channel is deleted. Requires the GUILDS
intent.
Emitted when a channel's pins are updated (message pinned, message unpinned). Requires the GUILDS
intent for guild channels, and DIRECT_MESSAGES
for direct messages.
Emitted when a channel is updated. Requires the GUILDS
intent.
Emitted when a shard connects.
Emitted with various information for debugging.
Emitted when all shards disconnect.
Emitted when an entitlement is created.
Emitted when an entitlement is deleted. Note that expired entitlements are not deleted.
Emitted when an entitlement is updated.
Emitted when an error happens. If an error is emitted and no handlers are present, the error will be thrown.
Emitted when an audit log entry is created. Requires both the GUILD_MODERATION
intent, as well as the VIEW_AUDIT_LOG
permission.
Emitted when a guild becomes available. Requires the GUILDS
intent.
Emitted when a guild ban is created. Requires the GUILD_BANS
intent.
Emitted when a guild ban is revoked. Requires the GUILD_BANS
intent.
Emitted when the client joins a new guild. Requires the GUILDS
intent.
Emitted when the client leaves a guild. Requires the GUILDS
intent.
Emitted when a guild's emojis are updated. Requires the GUILD_EMOJIS_AND_STICKERS
intent.
Emitted when a guild's integrations are updated. Requires the GUILD_INTEGRATIONS
intent.
Emitted when a member joins a guild. Requires the GUILD_MEMBERS
intent.
Emitted when a chunk of guild members is received from Discord.
Emitted when a member leaves a guild. Requires the GUILD_MEMBERS
intent. If the member is uncached, the first parameter will be a user. If the guild is uncached, the first parameter will be a user, and the second will be an object with only an id
.
Emitted when a guild member is updates. Requires the GUILD_MEMBERS
intent.
Emitted when a role is created. Requires the GUILDS
intent.
Emitted when a role is deleted. Requires the GUILDS
intent.
Emitted when a role is updated. Requires the GUILDS
intent.
Emitted when a scheduled event is created. Requires the GUILD_SCHEDULED_EVENTS
intent.
Emitted when a scheduled event is deleted. Requires the GUILD_SCHEDULED_EVENTS
intent.
Emitted when a scheduled event is updated. Requires the GUILD_SCHEDULED_EVENTS
intent.
Emitted when a user subscribes to a scheduled event. Requires the GUILD_SCHEDULED_EVENTS
intent.
Emitted when a user unsubscribes from a scheduled event. Requires the GUILD_SCHEDULED_EVENTS
intent.
Emitted when a guild's stickers are updated. Requires the GUILD_EMOJIS_AND_STICKERS
intent.
Emitted when a guild becomes unavailable. Requires the GUILDS
intent.
Emitted when a guild is updated. Requires the GUILDS
intent.
Emitted when a shard receives the HELLO packet.
Emitted when an integration is created. Requires the GUILD_INTEGRATIONS
intent.
Emitted when an integration is deleted. Requires the GUILD_INTEGRATIONS
intent.
Emitted when an integration is updated. Requires the GUILD_INTEGRATIONS
intent.
Emitted when an interaction is created.
Emitted when an invite is created. Requires the GUILD_INVITES
intent, and the MANAGE_CHANNELS
permission on the channel.
Emitted when an invite is deleted. Requires the GUILD_INVITES
intent, and the MANAGE_CHANNELS
permission on the channel.
Emitted when a message is created. Requires the GUILD_MESSAGES
intent for guild messages, DIRECT_MESSAGES
for direct messages. The MESSAGE_CONTENT
intent is required for content
, embeds
, and similar to be present on most messages.
Emitted when a message is created. Requires the GUILD_MESSAGES
intent for guild messages, DIRECT_MESSAGES
for direct messages. The MESSAGE_CONTENT
intent is required for content
, embeds
, and similar to be present on most messages.
Emitted when messages are bulk deleted. Requires the GUILD_MESSAGES
intent. The MESSAGE_CONTENT
intent is required for content
, embeds
, and similar to be present on most messages.
Emitted when a reaction is added to a message. For uncached messages, author
will not be present if the reaction was added to a webhook message. Requires the GUILD_MESSAGE_REACTIONS
for guild messages, and DIRECT_MESSAGE_REACTIONS
for direct messages.
Emitted when a reaction is removed from a message. Requires the GUILD_MESSAGE_REACTIONS
for guild messages, and DIRECT_MESSAGE_REACTIONS
for direct messages.
Emitted when all reactions are removed from a message. Requires the GUILD_MESSAGE_REACTIONS
for guild messages, and DIRECT_MESSAGE_REACTIONS
for direct messages.
Emitted when a specific reaction is removed for all users from a message. Requires the GUILD_MESSAGE_REACTIONS
for guild messages, and DIRECT_MESSAGE_REACTIONS
for direct messages.
Emitted when a message is updated. Requires the GUILD_MESSAGES
intent for guild messages, DIRECT_MESSAGES
for direct messages. The MESSAGE_CONTENT
intent is required for content
, embeds
, and similar to be present on most messages.
Emitted when a raw dispatch packet is received.
Emitted when a guild member's presence, or user is updated. Requires the GUILD_PRESENCES
intent.
Emitted when all shards are ready.
Emitted when a request is made.
Emitted when this shard disconnects.
Emitted when this shard has processed the READY packet from Discord.
Emitted when a shard is fully ready.
Emitted when a shard resumes a connection.
Emitted when a stage instance is created.
Emitted when a stage instance is deleted.
Emitted when a stage instance is updated.
Emitted when a thread is created. Requires the GUILDS
intent.
Emitted when a thread is deleted. Requires the GUILDS
intent.
Emitted when a guild's threads are synced. Requires the GUILDS
intent.
Emitted when the client's thread member is updated. Requires the GUILDS
intent.
Emitted when the members of a thread are updated. Requires the GUILDS
intent. The received information will be different if GUILD_MEMBERS
is also used.
Emitted when a thread is updated. Requires the GUILDS
intent.
Emitted when a user starts typing. Requires the GUILD_MESSAGE_TYPING
for guilds, and DIRECT_MESSAGE_TYPING
for direct messages.
Emitted when a guild is created, but is unavailable. Requires the GUILDS
intent.
Emitted when a user is updated.
Emitted when a user uses an effect in a voice channel. Requires the GUILD_VOICE_STATES
event.
Emitted when a user joins a voice channel. Requires the GUILD_VOICE_STATES
intent.
Emitted when a user leaves a voice channel. Requires the GUILD_VOICE_STATES
intent.
Emitted when a voice channel's status is updated. Requires the GUILD_VOICE_STATES
intent.
Emitted when a user switches voice channels. Requires the GUILD_VOICE_STATES
intent.
Emitted when a user's voice state is updated. Requires the GUILD_VOICE_STATES
intent.
Emitted with various warning information.
Emitted when a guild's webhooks are updated. Requires the GUILD_WEBHOOKS
intent.
Emitted when an application command's permissions are updated.