-
Notifications
You must be signed in to change notification settings - Fork 237
Events
Events are payloads sent over the socket to a client that correspond to events in Discord.
All gateway events are enabled by default and can be individually disabled using disabledEvents
options.
Most events also requires the respective Intents enabled (as well privileged ones enabled from Developers Portal) regardless the enabled event setting.
To listen on gateway events, use the event emitter callback and Event
name constants.
Some events are internally handled by the library and may not be registered a listener:
Event::READY
Event::RESUMED
Event::GUILD_MEMBERS_CHUNK
If you are an advanced user, you may listen to those events before internally handled with the library by parsing the 'raw' dispatch event data.
Note: This wiki is currently Work In Progress. Consider reading the docs instead.
- Application Command (Slash based)
Command Client (Message based)
- Activity
- Application
- Guild
- Private Channel
- User
Components
-
ActionRow
- Buttons
- Option (commands)
- SelectMenu
- TextInput
Builders