MrDagron / NamazuKingdomBot

0 stars 1 forks source link

Release build connects then disconnects from VC #13

Open MrDagron opened 2 years ago

MrDagron commented 2 years ago

For some reason when I did a release build and try to get the bot to connect to VC it would disconnect right after. I haven't looked into it at all, this is just a reminder for me to do so later.

Debug build while running in VS2022 works just fine.

MrDagron commented 2 years ago

I forgot to copy the libs to the release folder :)

MrDagron commented 2 years ago

ACTUALLY THIS REMINDS ME! We need some exception handling for having the bot join voice channels. I originally had try/catches which is how I figured this out for my debug mode ages ago (Issue was the library was looking for opus.dll but the one I downloaded from discordnet was libopus.dll; renamed it and the bot worked).

Don't know how it got lost but todo: readd exception handling