Skip to content

VoiceAdapter

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

How a connection reaches the main Gateway: send op 4, and be told about voice events.

destroy(): void

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

void


sendPayload(payload): boolean

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

Sends op 4 through the shard that owns the guild.

VoiceStatePayload

boolean

Whether it was sent.