Create a queue for the guild
DisTube
Voice connection
OptionaltextChannel: GuildTextBasedChannelDefault text channel
What time in the song to begin (in seconds).
Optional_listenersDisTubeVoice listener
Whether or not the last song was skipped to next song.
Whether or not the last song was skipped to previous song.
Task queuing system
Whether or not the autoplay mode is enabled. Default value: false
FFmpeg arguments for the current queue. Default value is defined with DisTubeOptions.ffmpeg.args.
af output argument will be replaced with Queue#filters manager
ReadonlyidQueue id (Guild id)
Whether or not the stream is currently paused.
Whether or not the stream is currently playing.
List of the previous songs.
Type of repeat mode (0 is disabled, 1 is repeating a song, 2 is repeating
all the queue). Default value: 0 (disabled)
List of songs in the queue (The first one is the playing song)
Whether stream is currently stopped.
OptionaltextThe text channel of the Queue. (Default: where the first command is called).
Voice connection of this queue.
Discord.js client
The client user as a GuildMember of this queue's guild
What time in the song is playing (in seconds).
Queue's duration.
The filter manager of the queue
Formatted Queue#currentTime string.
Formatted duration string.
DisTube handler
DisTube options
DisTube plugins
The queue manager
The voice channel playing in.
The voice manager
Get or set the stream volume. Default value: 50.
Emit debug event
debug message
Emit the DisTube of this base
Event name
arguments
true if the queue is paused
true if the queue is playing
Jump to the song position in the queue. The next one is 1, 2,... The previous
one is -1, -2,...
if num is invalid number
The song position to play
The new Song will be played
Play the first song in the queue
Whether or not emit Events.PLAY_SONG event
Remove the queue from the manager
Set the playing time to another position
Time in seconds
The guild queue
Set the repeat mode of the guild queue.
Toggle mode (Disabled -> Song -> Queue -> Disabled ->...) if mode is undefined
Optionalmode: RepeatModeThe repeat modes (toggle if undefined)
The new repeat mode
Set the guild stream's volume
The percentage of volume you want to set
The guild queue
Skip the playing song if there is a next song in the queue. true and there is no up next song, DisTube will add and
play a related song.
The song will skip to
Stop the guild stream and delete the queue
Toggle autoplay mode
Autoplay mode state
Represents a queue.