1
0
Fork 0
mirror of synced 2024-07-02 13:10:32 +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: 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