From 893adebdf9b0103cd88288e262a4b11983abbb26 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 7 Sep 2024 11:01:55 -0400 Subject: [PATCH] invite command --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 116f758..a1bfef9 100644 --- a/main.py +++ b/main.py @@ -87,4 +87,8 @@ async def send(interaction: discord.Interaction, to: discord.Member, amount: int else: await interaction.response.send_message(f'Cannot send. You only have {user.balance} aura!', ephemeral=True) +@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)}```') + client.run(BOT_TOKEN) \ No newline at end of file