Migration de Kuby vers disnake
This commit is contained in:
parent
dc6e235f27
commit
c8c579eefe
36 changed files with 1205 additions and 1253 deletions
6
kuby.py
6
kuby.py
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue