You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

VoiceConnectionDisconnectedWebSocketState

export declare interface VoiceConnectionDisconnectedWebSocketState extends VoiceConnectionDisconnectedBaseState
export declare interface VoiceConnectionDisconnectedWebSocketState extends VoiceConnectionDisconnectedBaseState
The state that a VoiceConnection will be in when its WebSocket connection was closed. You can manually attempt to reconnect using VoiceConnection#reconnect.
closeCode:number
The close code of the WebSocket connection to the Discord voice server.
subscription?:PlayerSubscription | undefined