corrected the detection of when the songs' queue is full
This commit is contained in:
parent
c29b9f6aea
commit
226b47453e
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class Core:
|
||||||
@checks.customPermsOrRole(send_messages=True)
|
@checks.customPermsOrRole(send_messages=True)
|
||||||
async def uptime(self):
|
async def uptime(self):
|
||||||
"""Provides a printout of the current bot's uptime"""
|
"""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()
|
@commands.command()
|
||||||
@checks.customPermsOrRole(send_messages=True)
|
@checks.customPermsOrRole(send_messages=True)
|
||||||
|
|
|
@ -27,7 +27,7 @@ class VoiceState:
|
||||||
self.voice = None
|
self.voice = None
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
self.play_next_song = asyncio.Event()
|
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.skip_votes = set() # a set of user_ids that voted
|
||||||
self.audio_player = self.bot.loop.create_task(self.audio_player_task())
|
self.audio_player = self.bot.loop.create_task(self.audio_player_task())
|
||||||
self.opts = {
|
self.opts = {
|
||||||
|
|
Loading…
Reference in a new issue