Additional data specific to this queue
ReadonlyvoiceVoice state representing connection status
ReadonlyfiltersManager responsible for handling filters
The node managing this player
The REST instance of the Node
Id of the guild
Volume of the player
Whether the player is paused
Whether the player is stopped. i.e. the queue has a track but the player doesn't
Whether autoplay is enabled
Whether the queue has no current tracks
Whether this instance of Queue is destroyed
Repeat mode of this queue
Whether this queue is empty (zero previous and current tracks)
Whether the player is playing
Whether the queue has a next track
Whether the queue has a previous track
The current playing track of the queue
The previous track of the queue
Current tracks of the queue (including playing track)
Previous tracks of the queue
Total current tracks in queue
Total tracks in queue (current + previous)
Total duration of current tracks in queue in milliseconds
Formatted total duration of current tracks in queue
Position (time) in milliseconds of the current playing track
Formatted position (time) of the current playing track
Searches for results based on query
Query or URL
Term to prefix query with
Adds items from source to queue
Track, list of Tracks, or Playlist
OptionaluserData: JsonObjectUser data to merge (shallow)
Adds related tracks to queue
OptionalrefTrack: Track<EmptyObject, EmptyObject>Track to use as reference
Remove a track from the queue
Position (integer) of the track in queue
Removes specified tracks from queue
Indices (integers) of tracks in queue
Jumps to a track in queue.
Unlike seek 0, jump 0 re-plays the current track and hence, re-emits events
Index (integer) of the track to jump to
Pauses the player
Resumes the player
Seeks to a position in current playing track
Position (time) in milliseconds to seek to
Plays the next track in queue
The next track if available, null otherwise
Plays the previous track in queue
The previous track if available, null otherwise
Enables or disables autoplay
Whether to enable autoplay. Default: false
Sets the repeat mode of the queue
Repeat mode to set. Default: none
Stops the player
Destroys this instance of Queue, removing it from its manager
Optionalreason: stringReason for destroying
A class representing the Queue of a guild's player