corrected the detection of when the songs' queue is full
This commit is contained in:
parent
226b47453e
commit
d854362304
|
@ -145,7 +145,7 @@ class Music:
|
||||||
if not success:
|
if not success:
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(state.songs) >= self.max_songs:
|
if state.songs.full():
|
||||||
await self.bot.say("The queue is currently full! You'll need to wait to add a new song")
|
await self.bot.say("The queue is currently full! You'll need to wait to add a new song")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue