-
Notifications
You must be signed in to change notification settings - Fork 80
queue.remove() not working as intended? #76
Comments
The |
Yeah! |
Doing some tests it seems like providing |
I would like to point out that args[0] is probably a string. Try convert it before you remove it. Something like this
|
I actually just realized my mistake, I'm an idiot. I wasn't getting the track correctly, and it was returning the first track in the queue, rather than the track I was removing. Thanks for the help! Sorry for the bother |
It being a number does not matter with JavaScript, however I will be adding more strict types so this won't be an issue. |
Hi! I'm not sure If I'm reading it wrong or using it improperly, but I'm trying to let the users choose what track to remove from the queue and no matter what number the user replies with, it only removes the next track after the current one playing. It does not remove the specified track.
player.queue.remove(args[0])
is what I'm using, if you need more let me know!
Any ideas? (Using up to date version of erela.js)
The text was updated successfully, but these errors were encountered: