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.

Extends

VoiceConnectionDisconnectedBaseState

closeCode

:

number

The close code of the WebSocket connection to the Discord voice server.

reason

:

VoiceConnectionDisconnectReason.WebSocketClose