class WebSocketManager
extends
AsyncEventEmitter<ManagerShardEventsMap>export declare class WebSocketManager extends AsyncEventEmitter<ManagerShardEventsMap>
readonlyWebSocketManagerOptions options :
The options being used by this manager
destroyoptions?: Omit<WebSocketShardDestroyOptions, 'recover'>) : Awaitable<void> (
options?: Omit<WebSocketShardDestroyOptions, 'recover'>
fetchGatewayInformationforce?: boolean) : Promise<APIGatewayBotInfo> (
force?: boolean
Fetches the gateway information from Discord - or returns it from cache if available
fetchStatusAwaitable<import("@discordjs/collection").Collection<number, import("./WebSocketShard.js").WebSocketShardStatus>> () :
Yields the total number of shards across for your bot, accounting for Discord recommendations
Yields the ids of the shards this manager should manage
sendshardId: numberpayload: GatewaySendPayload) : Awaitable<void> (
shardId: number
payload: GatewaySendPayload