If the bot is connected to the websocket
Details for logging in
The client options given when initiating the client
Permission checking
Number (in milliseconds) since the bot is ready
Utility functions
Returns ID of the client owner, if any.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Login to Revolt
Login details, can also be defined when initiating the client
An onboarding function if required, else undefined or void
Logout from Revolt
void
Emitted when the server authenticated the connection
Emitted when the client is connecting to the server
Emitted when the connection dropped
Emitted when the client is ready
Emitted when the client logged out
Emitted when the websocket receives any data
Emitted when a message is sent
Emitted when a message is edited
Emitted when a message is deleted
Emitted when a new channel is created
Emitted when a channel is editedhas updated changes
Emitted when a channel is deleted
Emitted when a user joined a group
Emitted when a group member left a group
Emitted when a user started typing in a channel
Emitted when a user stopped typing in a channel
Emitted when the client acknowledged new messages in a channel up to @param message message ID
Emitted when a server has updated details
Emitted when a server has been deleted
Emitted when a member joined a server
Emitted when a member has updated changes
Emitted when a member left a server
Emitted when a role is created or updated
Emitted when a role is deleted
Emitted when a user has updated changes
Emitted when the client updated their relationship with a user
Custom events (if you want to add some)
Add a one-time listener for a given event.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Generated using TypeDoc
The revolt.js
Client
object