My discord bot keeps randomly dropping out of voice, the bot itself does not disconnect, it only disconnects from the voice server. It then attempts to reconnect automatically but ends up with a exception Discord.Net.WebSocketClosedException: The server sent close 4006: "Session is no longer valid.
I guess losing connection is a normal thing sometimes, but is there a way i can catch this? Is there an event i can hook to that tells me when my bot loses connection to the voice channel, so that i can manually reconnect?
Thanks in advance!
