Update code.py

This commit is contained in:
Paillat
2022-12-08 13:06:06 +01:00
parent c6c9013d55
commit fbd9fe7a11

View File

@@ -439,7 +439,7 @@ async def transcript(ctx, channel_send: discord.TextChannel = None):
messages.reverse()
transcript = ""
#defer the response
await ctx.defer() #defer the response so that the bot doesn't say that it's thinking
await ctx.defer() #defer the response so that the bot doesn't say that it's thinking
for msg in messages:
if msg.author.bot:
transcript += f"Botator: {msg.content}\n"