This commit is contained in:
2024-09-04 01:16:36 +02:00
parent 428fe7b0f3
commit c275d8ceaf
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -1,6 +1,5 @@
import os
BOT_TOKEN=os.environ['BOT_TOKEN']
USE_INVITE=True
INVITE=os.environ['INVITE']
if not INVITE.endswith('/'):INVITE+='/'
PUNISH_ROLES=[x.strip() for x in os.environ['PUNISH_ROLES'].split(',')]
+1 -2
View File
@@ -30,8 +30,7 @@ async def on_member_join(member: discord.Member):
user = aura.get(str(member.id))
if not user:
user = aura.add(str(member.id))
if USE_INVITE:
member.send(embed=discord.Embed(color=member.color, title='✨ Welcome to ORUS! ✨', description=f'**Aura: {user.balance}\nInvite URL: {INVITE+member.id}\nShare this Invite URL to get 120+ aura per person**'))
member.send(embed=discord.Embed(color=member.color, title='✨ Welcome to ORUS! ✨', description=f'**Aura: {user.balance}\nInvite URL: {INVITE+str(member.id)}\nShare this Invite URL to get 120+ aura per join!**'))
@tree.command(name='aura', description='Check the amount of aura a member has')
async def get_aura(interaction: discord.Interaction, member: discord.Member = None):