Optionaloptions: Omit<WebSocketShardDestroyOptions, "recover">Fetches the gateway information from Discord - or returns it from cache if available
Optionalforce: booleanWhether to ignore the cache and force a fresh fetch
Yields the total number of shards across for your bot, accounting for Discord recommendations
Yields the ids of the shards this manager should manage
Optionalforce: booleanOptionalevent: string | symbolUpdates your total shard count on-the-fly, spawning shards as needed
The new shard count to use
StaticlistenerStaticonOptionaloptions: AbortableMethodsOptionaloptions: AbortableMethodsStaticonceOptionaloptions: AbortableMethodsOptionaloptions: AbortableMethods
This field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter