From 9be7ac4f1aab7d5d0da72727fc965dde16855ec9 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 19 Dec 2022 20:20:27 +0100 Subject: [PATCH] Update chat.py --- code/cogs/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/code/cogs/chat.py b/code/cogs/chat.py index 9b3df45..755ead2 100644 --- a/code/cogs/chat.py +++ b/code/cogs/chat.py @@ -151,6 +151,7 @@ async def on_message_process(message: discord.Message, self: Chat): #get the gmt time the message was sent gmt_time = message.created_at.strftime("%Y-%m-%d %H:%M:%S") print(f"{gmt_time}") + print({msg.content}) prompt += f"{msg.author} ({gmt_time} GMT-0): {msg.content}\n" #get the prompt_prefix from the database #check if the bot is in pretend mode