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.
Extends
VoiceConnectionDisconnectedBaseStatecloseCode
:
number
The close code of the WebSocket connection to the Discord voice server.