From 48c1f75bd0c755073a74e128ecc5b728d1b9a308 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Tue, 23 Aug 2016 19:21:56 -0500 Subject: [PATCH] Changed up what to do in the case voice gets stuck in a bad state --- cogs/playlist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/playlist.py b/cogs/playlist.py index 398a0ce..940bf66 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -233,7 +233,8 @@ class Music: "You can either try again, or try to change the server's region and see if that fixes the issue") return except discord.ClientException: - await state.voice.move_to(summoned_channel) + await self.bot.voice_client_in(ctx.message.server).disconnect() + await ctx.invoke(self.summon) # Return true so that we can invoke this, and ensure we succeeded return True