1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

corrected the detection of when the songs' queue is full

This commit is contained in:
Phxntxm 2016-07-30 12:25:01 -05:00
parent c29b9f6aea
commit 226b47453e
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class Core:
@checks.customPermsOrRole(send_messages=True)
async def uptime(self):
"""Provides a printout of the current bot's uptime"""
await self.bot.say("Uptime = ```{}```".format(self.get_bot_uptime()))
await self.bot.say("Uptime: ```{}```".format(self.get_bot_uptime()))
@commands.command()
@checks.customPermsOrRole(send_messages=True)

View file

@ -27,7 +27,7 @@ class VoiceState:
self.voice = None
self.bot = bot
self.play_next_song = asyncio.Event()
self.songs = asyncio.Queue()
self.songs = asyncio.Queue(maxsize=10)
self.skip_votes = set() # a set of user_ids that voted
self.audio_player = self.bot.loop.create_task(self.audio_player_task())
self.opts = {