1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

what did i do

This commit is contained in:
Steffo 2018-12-07 00:15:26 +01:00
parent f56d8a13d5
commit 943ccdd067

View file

@ -712,7 +712,8 @@ class RoyalDiscordBot(discord.Client):
if voice_client.is_paused(): if voice_client.is_paused():
continue continue
# Ensure the next video is ready # Ensure the next video is ready
if self.video_queue.next_video().is_ready: next_video = self.video_queue.next_video()
if next_video is not None and next_video.is_ready:
continue continue
# Advance the queue # Advance the queue
self.video_queue.advance_queue() self.video_queue.advance_queue()