From cbbec95196ecbaff1b5215dca842ec12d2a6b4f5 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Fri, 28 Jul 2017 08:43:34 -0500 Subject: [PATCH 1/2] Correct the parameters for overwatch --- cogs/overwatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/overwatch.py b/cogs/overwatch.py index da6142e..1cbddeb 100644 --- a/cogs/overwatch.py +++ b/cogs/overwatch.py @@ -21,7 +21,7 @@ class Overwatch: @commands.group() @utils.check_restricted() - async def ow(self): + async def ow(self, ctx): """Command used to lookup information on your own user, or on another's When adding your battletag, it is quite picky, use the exact format user#xxxx Multiple names with the same username can be used, this is why the numbers are needed From 63a7788030c4ca86eba0d3449d43c32cfcbdb196 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Fri, 28 Jul 2017 08:43:58 -0500 Subject: [PATCH 2/2] 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