mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
Update code.py
This commit is contained in:
@@ -439,7 +439,7 @@ 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
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user