From 3ab249a311d4ecce7c5bf5254b18c4c6a9332143 Mon Sep 17 00:00:00 2001 From: EEKIM10 Date: Tue, 11 Oct 2022 14:31:23 +0100 Subject: [PATCH] Fix main launcher again --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 1013bc7..8f5d601 100644 --- a/main.py +++ b/main.py @@ -18,12 +18,12 @@ bot.load_extension("cogs.assignments") bot.loop.run_until_complete(registry.create_all()) -@bot.event +@bot.listen() async def on_connect(): print("Connected to discord!") -@bot.listen() +@bot.event async def on_ready(): print("Logged in as", bot.user)