Node of this queue
Alias for node.rest
Id of the guild
Volume of the lavalink player
Whether the lavalink player is paused
Whether the queue has a track but the lavalink player doesn't
Whether the queue has no previous, current, or next tracks
Whether the queue has a track and the lavalink player is playing
Whether autoplay is enabled
Whether the queue has no current or next tracks
Whether this queue is (or being) destroyed
Whether this queue is being destroyed
Whether this queue instance is destroyed
The repeat mode of this queue
Whether the queue has a next track
Whether the queue has a previous track
The current track
The previous track
Current tracks
Previous tracks
Number of current tracks
Number of current and previous tracks
Duration in milliseconds of current tracks (excluding live tracks)
Formatted duration of current tracks (excluding live tracks)
Position in milliseconds of the current track
Formatted position of the current track
Sync lavalink player
local for queue, remote for node (local by default)
Search for tracks with this queue's node
Query or URL
Query prefix
Add a track, list of tracks, or playlist to the queue
track, list of tracks, or playlist
OptionaluserData: UserData
Object to shallow merge with track user data
Add related tracks to the queue
OptionalrefTrack: Track<CommonUserData, CommonPluginInfo> | null
Track to refer (null or undefined for default)
OptionaluserData: UserData
Object to shallow merge with track user data
Remove a specific track from the queue
zero-based position of the track
Remove multiple tracks from the queue
zero-based positions of the tracks to remove
Jump to a specific track in queue
zero-based position of the track in queue
Pause the lavalink player
Resume any stopped track, unpause lavalink player otherwise
Jump to a specific position in the current track
Position in milliseconds
Play the next track in queue
The next track, null otherwise
Play the previous track in queue
The previous track, null otherwise
Set the lavalink player's volume
Numeric value between 0 and 1000
Set autoplay mode
Whether to enable autoplay (false by default)
Set repeat mode
track, queue, none (none by default)
Stop the lavalink player
Destroy this queue instance
Optionalreason: string
Reason for destroying
Class representing a guild's queue, wrapping over its lavalink player.
Remarks
User interpretation: join of two arrays; negative for previous, zero for current, positive for next