From f00afa307a3c7d519ef1f5197e2f8b6bb8f75587 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 18 Feb 2022 23:36:41 -0500 Subject: [PATCH] Moved the 'Bot Started!' to where the bot is finished loading --- bot.py | 1 + main.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 487eaca..bf204bf 100644 --- a/bot.py +++ b/bot.py @@ -239,6 +239,7 @@ class Bot(commands.Bot): async def on_ready(): # Check the ./modules folder for any modules (cog.py) await self.check_for_modules() + print("Bot started!") @self.event async def on_message(message): diff --git a/main.py b/main.py index a49a723..76ea1e8 100644 --- a/main.py +++ b/main.py @@ -44,8 +44,6 @@ def main(): if not discord_bot_client.check_device(): raise BotDeviceNotFound(config['Device Name']) - print("Bot started!") - discord_bot_client.start_bot()