Class used for managing shards for the user.
This class is automatically instantiated by the library and is documented for reference.
Private
Add event listeners to a shard to that the manager can act on received events.
Shard to add the event listeners to.
Checks if all shards spawned by this manager are disconnected.
Checks if all shards spawned by this manager are ready.
Disconnect all shards facilitated by this manager.
Update the status of all currently connected shards which have been spawned by this manager.
Data to send.
Send an OP 8 REQUEST_GUILD_MEMBERS with a certain shard.
id of the shard.
Update the status of a single connected shard which has been spawned by this manager.
Create shard instances and add them to the connection queue.
Send an OP 4 VOICE_STATE_UPDATE with a certain shard.
Create a new ShardManager.
Generated using TypeDoc
Class used for managing shards for the user.
This class is automatically instantiated by the library and is documented for reference.