try:
await VoiceChannel.connect(timeout=10, reconnect=True)
except discord.ClientException as ex:
print(f'CAUGHT ClientException ERROR (1st spot): {str(ex)}, sleep 5')
There are more conditions prior to connect, and bot will be able to connect and disconnect cleanly. But for some discord servers the voice state gets stuck and won't be able to connect or play after this error occurs. Any way to reset just this guild cached voice connection?