import { Queue } from "https://deno.land/x/lavalink@v1.0.0/mod.ts";
The player's queue, the current
property is the currently playing track, think of the rest as the up-coming tracks.
Methods
add(track: (Track | UnresolvedTrack) | (Track | UnresolvedTrack)[], offset?: number): void
Adds a track to the queue.
Removes a track from the queue. Defaults to the first track, returning the removed track, EXCLUDING THE current
TRACK.
remove(start: number, end: number): (Track | UnresolvedTrack)[]
Removes an amount of tracks using a exclusive start and end exclusive index, returning the removed tracks, EXCLUDING THE current
TRACK.