Create a queue for the guild
DisTube
Voice connection
Optional
textChannel: 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
Readonly
idQueue 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.
Optional
textThe 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 plugins
The queue manager
The voice channel playing in.
The voice manager
Get or set the stream volume. Default value: 50
.
Emit the DisTube of this base
Event name
Rest
...args: anyarguments
Play the first song in the queue
Whether or not emit Events.PLAY_SONG event
Set the repeat mode of the guild queue.
Toggle mode (Disabled -> Song -> Queue -> Disabled ->...)
if mode
is undefined
Optional
mode: RepeatModeThe repeat modes (toggle if undefined
)
The new repeat mode
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
Represents a queue.