feat: logs

This commit is contained in:
2025-08-29 21:11:36 +02:00
parent 544571829b
commit b0141bf391
12 changed files with 101 additions and 43 deletions

View File

@@ -2,6 +2,8 @@ import asyncio
import discord
from bot.log import logger
MP3_PATH = "sounds/hello.mp3"
@@ -29,4 +31,4 @@ async def handle_voice_state_update(member, before, after, bot):
await vc.disconnect()
except Exception as e:
print(f"Error: {e}")
logger.error("Error: %s", e)