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.
Methods
Section titled “Methods”destroy()
Section titled “destroy()”destroy():
void
Defined in: packages/voice/src/connection.ts:65
Returns
Section titled “Returns”void
sendPayload()
Section titled “sendPayload()”sendPayload(
payload):boolean
Defined in: packages/voice/src/connection.ts:64
Sends op 4 through the shard that owns the guild.
Parameters
Section titled “Parameters”payload
Section titled “payload”Returns
Section titled “Returns”boolean
Whether it was sent.