queue.size() is not a function
Using this code here (the player passed in is valid):
It throws that tracks.size is not a function even though it is clearly stated to be a function in the GitHub code at that position.
10 Replies
queue.size is a get method
fair-roseOP•2y ago
So I just ... queue.get("size")?
Get method and as if it were a parameter, no need to use ()
fair-roseOP•2y ago
so... just queue.size? I don't quite understand the syntax. Sorry
Any questions you ask the server bot, if it doesn't solve it, you create a post ok
Ele resolverá alguns problemas mais eficiente que eu 😌

He will solve some problems more efficiently than me 😌
fair-roseOP•2y ago
Oh oops sorry didn't see that
Have a great day : D
fair-roseOP•2y ago
You too
Thanks again
For your help