Search...

VoiceConnectionDisconnectedWebSocketState

interface VoiceConnectionDisconnectedWebSocketState extends VoiceConnectionDisconnectedBaseState 
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.
Optional

subscription?

:

PlayerSubscription | undefined