From 8ded180a5ebb71baa6500e69c29af3643eb07f75 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 28 Nov 2022 13:40:12 +0100 Subject: [PATCH] Update code.py --- code/code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/code.py b/code/code.py index 96fcf5a..9068d6f 100644 --- a/code/code.py +++ b/code/code.py @@ -208,7 +208,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"Botator: {msg.content}\n" else: prompt += f"{msg.author.display_name}: {msg.content}\n" #get the prompt_prefix from the database @@ -250,7 +250,7 @@ async def transcript(ctx): await ctx.defer() for msg in messages: if msg.author.bot: - transcript += f"Donald Bot \"Botator\": {msg.content}\n" + transcript += f"Botator: {msg.content}\n" else: transcript += f"{msg.author.display_name}: {msg.content}\n" #save the transcript in a txt file called transcript.txt. If the file already exists, delete it and create a new one