working on #7
This commit is contained in:
@@ -47,6 +47,10 @@ class DiscordBotManager:
|
||||
print(f"{member.name} joined voice channel {after.channel.name}")
|
||||
self._voice_ready_event.set()
|
||||
|
||||
@self.bot.event
|
||||
async def on_disconnect():
|
||||
LOGGER.warning("Bot has been disconnected from Discord.")
|
||||
|
||||
# Load Opus for the current CPU
|
||||
await self.load_opus()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user