declare enum VoiceConnectionDisconnectReason declare enum VoiceConnectionDisconnectReason SummaryThe reasons a voice connection can be in the disconnected state.MembersAdapterUnavailable1When the adapter was unable to send a message requested by the VoiceConnection.EndpointRemoved2When a VOICE_SERVER_UPDATE packet is received with a null endpoint, causing the connection to be severed.Manual3When a manual disconnect was requested.WebSocketClose0When the WebSocket connection has been closed.
declare enum VoiceConnectionDisconnectReason declare enum VoiceConnectionDisconnectReason SummaryThe reasons a voice connection can be in the disconnected state.MembersAdapterUnavailable1When the adapter was unable to send a message requested by the VoiceConnection.EndpointRemoved2When a VOICE_SERVER_UPDATE packet is received with a null endpoint, causing the connection to be severed.Manual3When a manual disconnect was requested.WebSocketClose0When the WebSocket connection has been closed.