1
0
Fork 0
mirror of synced 2024-06-28 11:10:27 +12:00

corrected the detection of when the songs' queue is full

This commit is contained in:
Phxntxm 2016-07-30 12:28:53 -05:00
parent 226b47453e
commit d854362304

View file

@ -145,7 +145,7 @@ class Music:
if not success:
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")
return