1
0
Fork 0
mirror of synced 2024-09-30 09:17:13 +13:00

Removed exception handling if voice was still none, it just caused a loop. I don't know how this error keeps happening

This commit is contained in:
phxntxm 2016-08-24 14:55:09 -05:00
parent 48c1f75bd0
commit df8db00c08

View file

@ -232,9 +232,6 @@ class Music:
"Sorry, I couldn't connect! This can sometimes be caused by the server region you are in. " "Sorry, I couldn't connect! This can sometimes be caused by the server region you are in. "
"You can either try again, or try to change the server's region and see if that fixes the issue") "You can either try again, or try to change the server's region and see if that fixes the issue")
return return
except discord.ClientException:
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 so that we can invoke this, and ensure we succeeded
return True return True