Skip to content

How to extract tracks from queue? #1660

Closed Answered by twlite
danyaridiger asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @danyaridiger, the tracks object in v6 is the internal Queue object (https://discord-player.js.org/docs/classes/@discord-player/utils/Queue) which provides methods such as .toArray() to turn the queue into array of tracks, .at() to get the track at the given index and so on. Please refer to the link I provided in this message for all of the available methods.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@danyaridiger
Comment options

@twlite
Comment options

@danyaridiger
Comment options

Answer selected by danyaridiger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants