Base trait for all gateway events.
Sent with each new event.
Sent with each new event.
The seq number.
The sent event.
Responsible for normal websocket communication with Discord.
Responsible for normal websocket communication with Discord. Some REST messages can't be sent until this has authenticated.
Base trait for all gateway messages.
All the different opcodes used by the gateway.
All the settings used by AckCord when connecting and similar
All the settings used by AckCord when connecting and similar
The token for the bot
The large threshold
The shard index of this
The amount of shards
If the bot has been idle, set the time since
Send an activity when connecting
The status to use when connecting
If the bot should be afk when connecting
Sent and received to confirm the connection is still going.
Sent and received to confirm the connection is still going.
The previous sequence.
Sent by the gateway as a response to Identify
The amount of milliseconds inbetween the time to send a heartbeat.
Sent by the shard to log in.
The bot token.
A map of properties to send.
If compressed messages should be used.
The threshold where the gateway stops sending offline users.
The shard info, the first index is the shard id, while the second is the total amount of shards.
The presence data to start with.
Sent by the gateway if the session is invalid when resuming a connection.
Sent by the gateway if the session is invalid when resuming a connection.
If the connection is resumable.
Sent by the shard to receive all the members of a guild, even logged out ones.
The guildId(s) to request for.
Return all the users where their username start with this. or an empty string for all users.
The amount of users to send, or 0 for all users.
Sent by the shard instead of Identify when resuming a connection.
The bot token.
The sessionId received earlier.
The last seq received.
A simpler gateway event where the data type and the handler type are the same.
If present, instant when the user went idle.
The presence text.
The status of the user.
If the user is AFK.
Sent when a presence or status changes.
The voice connection token.
The guild of the update.
The voice server.
Sent by the bot to connect to a voice channel.
The channel the voice channel is in.
The voice channel to join.
If the bot should mute itself.
If the bot should deafen itself.
Sent by the gateway as a response to Heartbeat.
Sent by the gateway to indicate that the shard should reconnect.
Base trait for all gateway events.
The data this event carries.
The type the cache handler takes.