From ecdc69a2545cc83ce7c2e2aa644c6d4f7c1597d3 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 19 Dec 2022 20:03:34 +0100 Subject: [PATCH] Update chat.py --- code/cogs/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cogs/chat.py b/code/cogs/chat.py index dca8b4f..7d16c63 100644 --- a/code/cogs/chat.py +++ b/code/cogs/chat.py @@ -199,7 +199,7 @@ async def on_message_process(message: discord.Message, self: Chat): now = datetime.now() #add the time to the prompt in the strftime("%Y-%m-%d %H:%M:%S") format prompt = prompt + f"{self.bot.user.name} ({now.strftime('%Y-%m-%d %H:%M:%S')}):" - prompt = prompt + f"\n" + print(prompt) print("Sending request to the api") #print(prompt) openai.api_key = api_key