final
This commit is contained in:
@@ -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(',')]
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user