Update the ai's name.

This commit is contained in:
Paillat
2022-11-28 08:26:00 +01:00
parent 68f2c04a19
commit c2ff23d319

View File

@@ -232,7 +232,7 @@ async def transcript(ctx):
await ctx.defer() await ctx.defer()
for msg in messages: for msg in messages:
if msg.author.bot: if msg.author.bot:
transcript += f"AI: {msg.content}\n" transcript += f"Donald Bot \"Botator\": {msg.content}\n"
else: else:
transcript += f"{msg.author.display_name}: {msg.content}\n" 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 #save the transcript in a txt file called transcript.txt. If the file already exists, delete it and create a new one