1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Don't try to connect again on failure; normally this is due to timeing out and we don't want to continiously time out

This commit is contained in:
Phxntxm 2017-05-18 14:02:29 -05:00
parent 47f0cfebfa
commit 6d18799dd8

View file

@ -330,7 +330,7 @@ class Music:
if channel.guild.voice_client:
await channel.guild.voice_client.disconnect(force=True)
log.warning("Force cleared voice connection on guild {} after being stuck between connected/not connected".format(ctx.message.guild.id))
await channel.connect()
await ctx.send("Sorry but I couldn't connect...try again?")
@commands.command()