How to properly restart a voice connection after bot restart?

So lets say I restart my bot but I want all voice connections that my bot was in before the restart to be reconnected. What is the best way to do this? Does it involve using the voice sessionId?
Was this page helpful?