How to check queue is empty? #259
-
in 2.x.x i use queue.is empty for checking queue empty or not. After upgraded to wavelink 3 queue.is empty doesn't work. Any ideas on how I can get the queue checked? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
chillymosh
Dec 4, 2023
Replies: 1 comment 1 reply
-
if len(queue)==0: ... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just do
if player.queue
orif not player.queue