Migration de Kuby vers disnake

This commit is contained in:
Mathis 2026-05-06 17:07:09 +02:00
parent dc6e235f27
commit c8c579eefe
36 changed files with 1205 additions and 1253 deletions

View file

@ -28,10 +28,8 @@ kuby_logger.info("✅ Token Discord chargé avec succès")
async def main():
kuby_logger.info("🔄 Démarrage de la connexion Discord...")
try:
kuby_logger.debug("Starting async context manager")
async with bot:
kuby_logger.info("🔗 Connexion établie avec Discord...")
await bot.start(TOKEN)
kuby_logger.info("🔗 Connexion établie avec Discord...")
await bot.start(TOKEN)
except KeyboardInterrupt:
kuby_logger.info("🛑 Bot shutdown requested by user")
except Exception as e: