From 63a7788030c4ca86eba0d3449d43c32cfcbdb196 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Fri, 28 Jul 2017 08:43:58 -0500 Subject: [PATCH] Refresh the entry --- cogs/voice_utilities/playlist.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/voice_utilities/playlist.py b/cogs/voice_utilities/playlist.py index 5082c19..95622fa 100644 --- a/cogs/voice_utilities/playlist.py +++ b/cogs/voice_utilities/playlist.py @@ -170,6 +170,8 @@ class Playlist(EventEmitter): # Otherwise, wait a second and check again else: await asyncio.sleep(1) + # "Refresh" the next entry, in case someone cleared the next song in the queue + entry = self.peek() # If we've reached here, we have no entries return None