Added an exception check in case voice gets stuck, and the bot is already ina channel
This commit is contained in:
parent
7cbb788668
commit
96c77a21db
1 changed files with 2 additions and 0 deletions
|
@ -232,6 +232,8 @@ 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 state.voice.move_to(summoned_channel)
|
||||||
# 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue