From 7b1af0232d74b28bca4395791f821d1c8437d207 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 7 Sep 2024 11:04:55 -0400 Subject: [PATCH] invite await fix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a1bfef9..f3da04a 100644 --- a/main.py +++ b/main.py @@ -89,6 +89,6 @@ async def send(interaction: discord.Interaction, to: discord.Member, amount: int @tree.command(name='invite', description='Get the invite link and get aura') async def send(interaction: discord.Interaction): - interaction.response.send_message(f'```{INVITE+str(interaction.user.id)}```') + await interaction.response.send_message(f'```{INVITE+str(interaction.user.id)}```') client.run(BOT_TOKEN) \ No newline at end of file