Added typing action while waiting for the reply
This commit is contained in:
parent
43e073cbd1
commit
bd631ad61a
@ -35,6 +35,7 @@ async def on_message(message: discord.Message):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if message.attachments and bot.user in message.mentions:
|
if message.attachments and bot.user in message.mentions:
|
||||||
|
async with message.channel.typing():
|
||||||
message_attachments = [
|
message_attachments = [
|
||||||
{'filename': i_attachment.filename, 'url': i_attachment.url} for i_attachment in message.attachments
|
{'filename': i_attachment.filename, 'url': i_attachment.url} for i_attachment in message.attachments
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user