Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Queue.move is not a function #314

Open
Siris2314 opened this issue Dec 28, 2022 · 8 comments
Open

[BUG] Queue.move is not a function #314

Siris2314 opened this issue Dec 28, 2022 · 8 comments
Assignees
Labels

Comments

@Siris2314
Copy link

Every time I attempt to use the move part of the Queue documentation, it throws an error, Queue.move() is not a function

/move(2,3)

The above command should move song at index 2 to index 3

image

image

  • OS: Mac OS Monterey
  • Node 16.6.0
  • DMP Version 9.1.1
@davidkhierl
Copy link
Contributor

@Siris2314 can you log the queue?

@Siris2314
Copy link
Author

Sure here is the logged queue

image

image

It's songs from a playlist on YT

@davidkhierl
Copy link
Contributor

@Siris2314 seems like the queue you got is not the queue class, base on the logs its a collection of the songs in queue

@Siris2314
Copy link
Author

image

It is printing the whole class, apologies my terminal was not big enough to handle the entire log, but yes it prints the entire Queue class itself

@davidkhierl
Copy link
Contributor

if you console log the queue.move is it undefined? log it outside your condition

@Siris2314
Copy link
Author

Do you mean outside the conditional statements, the queue is logged before them:

image

@securing-ab
Copy link

The update containing the move feature hasn’t been released to NPM

@Siris2314
Copy link
Author

Interesting that it is listed on the documentation lmfao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants