From e4cf7195c2f4a554693e97fab7317bd963e66bba Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 28 Nov 2022 08:13:41 +0100 Subject: [PATCH] Update code.py --- code/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/code.py b/code/code.py index 7f7c969..367d18d 100644 --- a/code/code.py +++ b/code/code.py @@ -195,7 +195,7 @@ async def on_message(message): prompt = "" for msg in messages: if msg.author.bot: - prompt += f"Donald Bot \"Botator\"": {msg.content}\n" + prompt += f"Donald Bot \"Botator\": {msg.content}\n" else: prompt += f"{msg.author.display_name}: {msg.content}\n" prompt = f"This is a conversation with an AI. Only the {prompt_size} last messages are used as a prompt.\n\n" + prompt + f"\n Donald Bot \"Botator\":"