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:
parent
721837456c
commit
2381219098
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue