Expand description
All the events this library handles.
Every event includes the gateway intent required to receive it, as well as a link to the Discord documentation for the event.
Structs§
- Auto
ModAction Execution Event - Requires
GatewayIntents::AUTO_MODERATION_EXECUTION
. - Auto
ModRule Create Event - Requires
GatewayIntents::AUTO_MODERATION_CONFIGURATION
. - Auto
ModRule Delete Event - Requires
GatewayIntents::AUTO_MODERATION_CONFIGURATION
. - Auto
ModRule Update Event - Requires
GatewayIntents::AUTO_MODERATION_CONFIGURATION
. - Channel
Create Event - Event data for the channel creation event.
- Channel
Delete Event - Requires
GatewayIntents::GUILDS
. - Channel
Pins Update Event - Requires
GatewayIntents::GUILDS
orGatewayIntents::DIRECT_MESSAGES
. - Channel
Update Event - Requires
GatewayIntents::GUILDS
. - Command
Permissions Update Event - Requires no gateway intents.
- Entitlement
Create Event - Requires no gateway intents.
- Entitlement
Delete Event - Requires no gateway intents.
- Entitlement
Update Event - Requires no gateway intents.
- Guild
Audit LogEntry Create Event - Requires
GatewayIntents::GUILD_MODERATION
andPermissions::VIEW_AUDIT_LOG
. - Guild
BanAdd Event - Requires
GatewayIntents::GUILD_MODERATION
. - Guild
BanRemove Event - Requires
GatewayIntents::GUILD_MODERATION
. - Guild
Create Event - Requires
GatewayIntents::GUILDS
. - Guild
Delete Event - Requires
GatewayIntents::GUILDS
. - Guild
Emojis Update Event - Requires
GatewayIntents::GUILD_EMOJIS_AND_STICKERS
. - Guild
Integrations Update Event - Requires
GatewayIntents::GUILD_INTEGRATIONS
. - Guild
Member AddEvent - Requires
GatewayIntents::GUILD_MEMBERS
. - Guild
Member Remove Event - Requires
GatewayIntents::GUILD_MEMBERS
. - Guild
Member Update Event - Requires
GatewayIntents::GUILD_MEMBERS
. - Guild
Members Chunk Event - Requires no gateway intents.
- Guild
Role Create Event - Requires
GatewayIntents::GUILDS
. - Guild
Role Delete Event - Requires
GatewayIntents::GUILDS
. - Guild
Role Update Event - Requires
GatewayIntents::GUILDS
. - Guild
Scheduled Event Create Event - Requires
GatewayIntents::GUILD_SCHEDULED_EVENTS
. - Guild
Scheduled Event Delete Event - Requires
GatewayIntents::GUILD_SCHEDULED_EVENTS
. - Guild
Scheduled Event Update Event - Requires
GatewayIntents::GUILD_SCHEDULED_EVENTS
. - Guild
Scheduled Event User AddEvent - Requires
GatewayIntents::GUILD_SCHEDULED_EVENTS
. - Guild
Scheduled Event User Remove Event - Requires
GatewayIntents::GUILD_SCHEDULED_EVENTS
. - Guild
Stickers Update Event - Requires
GatewayIntents::GUILD_EMOJIS_AND_STICKERS
. - Guild
Update Event - Requires
GatewayIntents::GUILDS
. - Integration
Create Event - Requires
GatewayIntents::GUILD_INTEGRATIONS
. - Integration
Delete Event - Requires
GatewayIntents::GUILD_INTEGRATIONS
. - Integration
Update Event - Requires
GatewayIntents::GUILD_INTEGRATIONS
. - Interaction
Create Event - Requires no gateway intents.
- Invite
Create Event - Requires
GatewayIntents::GUILD_INVITES
and [`Permissions::MANAGE_CHANNELS´] permission. - Invite
Delete Event - Requires
GatewayIntents::GUILD_INVITES
and [`Permissions::MANAGE_CHANNELS´] permission. - Message
Create Event - Requires
GatewayIntents::GUILD_MESSAGES
orGatewayIntents::DIRECT_MESSAGES
. - Message
Delete Bulk Event - Requires
GatewayIntents::GUILD_MESSAGES
orGatewayIntents::DIRECT_MESSAGES
. - Message
Delete Event - Requires
GatewayIntents::GUILD_MESSAGES
orGatewayIntents::DIRECT_MESSAGES
. - Message
Poll Vote AddEvent - Requires
GatewayIntents::GUILD_MESSAGE_POLLS
orGatewayIntents::DIRECT_MESSAGE_POLLS
. - Message
Poll Vote Remove Event - Requires
GatewayIntents::GUILD_MESSAGE_POLLS
orGatewayIntents::DIRECT_MESSAGE_POLLS
. - Message
Update Event - Requires
GatewayIntents::GUILD_MESSAGES
. - Presence
Update Event - Requires
GatewayIntents::GUILD_PRESENCES
. - Presences
Replace Event Deprecated - Not officially documented.
- Reaction
AddEvent - Requires
GatewayIntents::GUILD_MESSAGE_REACTIONS
orGatewayIntents::DIRECT_MESSAGE_REACTIONS
. - Reaction
Remove AllEvent - Requires
GatewayIntents::GUILD_MESSAGE_REACTIONS
orGatewayIntents::DIRECT_MESSAGE_REACTIONS
. - Reaction
Remove Emoji Event - Requires
GatewayIntents::GUILD_MESSAGE_REACTIONS
orGatewayIntents::DIRECT_MESSAGE_REACTIONS
. - Reaction
Remove Event - Requires
GatewayIntents::GUILD_MESSAGE_REACTIONS
orGatewayIntents::DIRECT_MESSAGE_REACTIONS
. - Ready
Event - The “Ready” event, containing initial ready cache
- Resumed
Event - Requires no gateway intents.
- Stage
Instance Create Event - Requires
GatewayIntents::GUILDS
. - Stage
Instance Delete Event - Requires
GatewayIntents::GUILDS
. - Stage
Instance Update Event - Requires
GatewayIntents::GUILDS
. - Thread
Create Event - Requires
GatewayIntents::GUILDS
. - Thread
Delete Event - Requires
GatewayIntents::GUILDS
. - Thread
List Sync Event - Requires
GatewayIntents::GUILDS
. - Thread
Member Update Event - Requires
GatewayIntents::GUILDS
, and, to receive this event for other users,GatewayIntents::GUILD_MEMBERS
. - Thread
Members Update Event - Requires
GatewayIntents::GUILD_MEMBERS
. - Thread
Update Event - Requires
GatewayIntents::GUILDS
. - Typing
Start Event - Requires
GatewayIntents::GUILD_MESSAGE_TYPING
orGatewayIntents::DIRECT_MESSAGE_TYPING
. - Unknown
Event - User
Update Event - Sent when properties about the current bot’s user change.
- Voice
Channel Status Update Event - Requires
GatewayIntents::GUILDS
. - Voice
Server Update Event - Requires no gateway intents.
- Voice
State Update Event - Requires
GatewayIntents::GUILD_VOICE_STATES
. - Webhook
Update Event - Requires
GatewayIntents::GUILD_WEBHOOKS
.
Enums§
- Event
- Event received over a websocket connection
- Gateway
Event - Discord docs.