Moved the 'Bot Started!' to where the bot is finished loading

This commit is contained in:
Logan Cusano
2022-02-18 23:36:41 -05:00
parent a67b5f845e
commit f00afa307a
2 changed files with 1 additions and 2 deletions

1
bot.py
View File

@@ -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):

View File

@@ -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()