Added typing action in 'hello' command interaction.
This commit is contained in:
parent
87f4e40cce
commit
0d734024dc
@ -26,7 +26,8 @@ async def on_ready():
|
|||||||
|
|
||||||
@bot.tree.command(name='hello', description='Screams at you!')
|
@bot.tree.command(name='hello', description='Screams at you!')
|
||||||
async def hello_command(interaction: discord.Interaction):
|
async def hello_command(interaction: discord.Interaction):
|
||||||
await interaction.response.send_message('AAAAAAAAAAAAAAAAAAAAA!')
|
async with interaction.channel.typing():
|
||||||
|
await interaction.response.send_message('AAAAAAAAAAAAAAAAAAAAA!')
|
||||||
|
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user