1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-03-11 02:57:31 +00:00

Fix queue ignoring pauses

This commit is contained in:
Steffo 2018-09-14 01:01:23 +02:00
parent 721837456c
commit 2381219098

View file

@ -458,8 +458,7 @@ class RoyalDiscordBot(discord.Client):
while True:
# Fun things will happen with multiple voice clients!
for voice_client in self.voice_clients:
if not voice_client.is_connected() \
or voice_client.is_playing():
if not voice_client.is_connected() or not voice_client.is_done():
continue
if len(self.video_queue) == 0:
self.now_playing = None