All guilds pending to be cached from the gateway READY event
The sequence number of this shard
The session ID of this shard
Holds shard details
This shard's state
The WebSocket connection associated to this shard
Close the connection between the bot and the gateway
Loads optional libraries and sets the options for the gateway websocket initialization
Connects to the Discord Gateway and resumes a previous connection if needed
Whether to resume a previous connection
Transfers the data into format which can be sent across the gateway
Data to be transferred and sent to the gateway
Called when the bot is fully ready to proceed, after collecting all guilds from GUILD_CREATE events
Packs and sends the data to the WebSocket
The data
Generated using TypeDoc
Connects every bot shard to a {@link WebSocket} with the Discord Gateway. Handles gateway events and messages