export class WebSocketManager extends EventEmitter
The WebSocket manager for this client. This class forwards raw dispatch events, read more about it here https://discord.com/developers/docs/topics/gateway
readonlyClient client :
The client that instantiated this WebSocketManager
readonlynumber ping :
The average ping of all WebSocketShards
Collection<number, WebSocketShard> shards :
A collection of all shards this manager handles
Status status :
The current status of this WebSocketManager
onevent: GatewayDispatchEvents) : this (
event: GatewayDispatchEvents
onceevent: GatewayDispatchEvents) : this (
event: GatewayDispatchEvents