VoiceConnectionDisconnectReason
The reasons a voice connection can be in the disconnected state.
declare enum VoiceConnectionDisconnectReason
declare enum VoiceConnectionDisconnectReason
EndpointRemoved
=
2
When a VOICE_SERVER_UPDATE packet is received with a null endpoint, causing the connection to be severed.
Manual
=
3
When a manual disconnect was requested.
WebSocketClose
=
0
When the WebSocket connection has been closed.