From eaaeee710946d9415b77b91604b77be7ed756a75 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 18 Feb 2022 22:51:51 -0500 Subject: [PATCH] Trying an on_message function that gets disabled after the bot is fully loaded --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index 0821d5c..4d56726 100644 --- a/bot.py +++ b/bot.py @@ -236,6 +236,7 @@ class Bot(commands.Bot): @self.event async def on_message(message): + print(message.content) if "ping" in message.content: await self.process_commands(message)