From 134d19fa181ec85e1115838cc3bdf1396952b921 Mon Sep 17 00:00:00 2001 From: FuseFairy Date: Mon, 13 Nov 2023 00:32:55 +0800 Subject: [PATCH] feat: remove some print() --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index dfbddaf..32123b3 100644 --- a/bot.py +++ b/bot.py @@ -33,12 +33,11 @@ async def on_ready(): if Filename.endswith('.py'): await bot.load_extension(f'cogs.{Filename[:-3]}') logger.info(f'{bot.user} is now running!') - print("Bot is Up and Ready!") try: synced = await bot.tree.sync() print(f"Synced {len(synced)} commands") except Exception as e: - print(e) + logger.error(f"Error: {e}") # Load command @commands.is_owner()