Search...
declare enum VoiceConnectionStatus 
declare enum VoiceConnectionStatus 
The various status codes a voice connection can hold at any one time.

Connecting

"connecting"

The VOICE_SERVER_UPDATE and VOICE_STATE_UPDATE packets have been received, now attempting to establish a voice connection.

Destroyed

"destroyed"

The voice connection has been destroyed and untracked, it cannot be reused.

Disconnected

"disconnected"

The voice connection has either been severed or not established.

Ready

"ready"

A voice connection has been established, and is ready to be used.

Signalling

"signalling"

Sending a packet to the main Discord gateway to indicate we want to change our voice state.