WIP: #7/fix-disconnect #8

Draft
logan wants to merge 30 commits from #7/fix-disconnect into master
Showing only changes of commit e3566fb367 - Show all commits

View File

@@ -112,6 +112,12 @@ class DiscordBotManager:
LOGGER.info(f"Checking opus status before transmitter init: {opus.is_loaded()}")
try:
encoder = opus.OpusEncoder()
LOGGER.info(f"Manually created OpusEncoder successfully: {encoder}")
except Exception as e:
LOGGER.error(f"MANUAL ENCODER CREATION FAILED: {e}", exc_info=True)
# Create and start the new AudioTransmitter
transmitter = AudioTransmitter(
voice_client=voice_client,