Update code.py

This commit is contained in:
Paillat
2022-12-08 13:09:14 +01:00
parent 15ef4f6249
commit 9decf4571e

View File

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