ReadonlyaudioReadonlyidOptionalpausingOptionalstreamReadonlyvoicesStaticdefaultThe voice channel id the bot is in
Playback duration of the audio resource in seconds
Whether the bot is self-deafened
Whether the bot is self-muted
The voice state of this connection
Get or set the volume percentage
Join a voice channel with this connection
Optionalchannel: VoiceBasedChannelA voice channel
Leave the voice channel of this connection
Optionalerror: ErrorOptional, an error to emit with 'error' event.
Optionalevent: keyof DisTubeVoiceEventsSelf-deafens/undeafens the bot.
Whether or not the bot should be self-deafened
true if the voice state was successfully updated, otherwise false
Self-mutes/unmutes the bot.
Whether or not the bot should be self-muted
true if the voice state was successfully updated, otherwise false
Stop the playing stream
If true, will force the DisTubeVoice#audioPlayer to enter the Idle state even if the DisTubeStream#audioResource has silence padding frames.
Create a voice connection to the voice channel