Skip to content

VoiceManagerClient

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

What a VoiceManager needs from its client.

readonly userId: string | undefined

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

The bot’s user ID, once logged in.

optional canSendVoiceState(guildId): boolean

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

Whether op 4 for this guild can be sent now (connected, and the guild is on this shard).

string

boolean


sendVoiceState(guildId, channelId, options): boolean

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

Sends op 4 through the owning shard.

string

string | null

boolean

boolean

boolean

Whether it was sent.