Skip to content

VoiceConnectionStatus

const VoiceConnectionStatus: object

Defined in: packages/voice/src/connection.ts:12

Where a VoiceConnection is.

readonly Connecting: "connecting" = "connecting"

Connecting to the voice server.

readonly Destroyed: "destroyed" = "destroyed"

Gone for good.

readonly Disconnected: "disconnected" = "disconnected"

Not in a channel (left, removed, timed out or failed). rejoin() brings it back.

readonly Ready: "ready" = "ready"

Can send and receive audio.

readonly Signalling: "signalling" = "signalling"

Asked Discord to join (op 4); waiting for the voice state and server.