From e4c2f201489929eb1aba77a382604740fbbb4b26 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 28 Nov 2022 08:08:53 +0100 Subject: [PATCH] Changed the AI's name --- code/code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/code.py b/code/code.py index 72a4ee1..7f7c969 100644 --- a/code/code.py +++ b/code/code.py @@ -195,10 +195,10 @@ async def on_message(message): prompt = "" for msg in messages: if msg.author.bot: - prompt += f"AI: {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 AI:" + 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\":" #send the request to the api debug("Sending request to the api") debug(prompt)