Emits an event on all shards initiated with this manager
The event to be emitted
Checks if all shards under this manager match the given state
The state to check if all shards match
Whether all shards match that state
Disconnects all active shards under this manager
The shards' close code
Emits a given event on all shards under this manager
The event to emit
The arguments of the event
Emits an event on a specific shard. Returns undefined if no shard matching the given ID was found
The event to be emitted
The ID of the shard where this event should be emitted
Starts the shards and stores them inside a Collection
Generated using TypeDoc
Creates and manages all bot shards