Skip to content

DisTubeVoice

One guild’s voice connection and the settings that outlive its queues: volume, filters, self-deaf and self-mute. Playback controls live on DisTubeQueue. The voice stays until leave, dispose or the platform ends it.

Type Parameter Default type
Target VoiceChannelTarget
Property Type
filters FilterManager

get channelId(): string

The last channel the platform acknowledged.

string


get guildId(): string

string


get selfDeaf(): boolean

boolean


get selfMute(): boolean

boolean


get volume(): number

number

leave(): Promise<void>

Deletes the guild queue, then releases the Player and the session.

Promise<void>


move(channel): Promise<void>

Moves in call order; each move compares its target with the channel acknowledged when it runs.

Parameter Type
channel Target

Promise<void>


setSelfDeaf(enabled): Promise<void>

Runs after any pending move and writes to the channel acknowledged by then.

Parameter Type
enabled boolean

Promise<void>


setSelfMute(enabled): Promise<void>

Runs after any pending move and writes to the channel acknowledged by then.

Parameter Type
enabled boolean

Promise<void>


setVolume(percent): Promise<void>

Percentage from 0 to 1000; committed once the Player applies it. The built-in engine clips above 100.

Parameter Type
percent number

Promise<void>