Update code.py

This commit is contained in:
Paillat
2022-12-06 21:45:48 +01:00
parent c328cc4629
commit f8f19a03fb

View File

@@ -435,7 +435,6 @@ async def transcript(ctx, channel: discord.TextChannel = None):
messages.reverse()
transcript = ""
#defer the response
await ctx.defer()
for msg in messages:
if msg.author.bot:
transcript += f"Botator: {msg.content}\n"