lunarflu HF staff commited on
Commit
8f517de
·
verified ·
1 Parent(s): 796bfcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -361,7 +361,7 @@ async def add_exp(member_id):
361
  # send embed
362
  embed = Embed(color=Color.red())
363
  embed.set_author(name=f"{member}", icon_url=member.avatar.url if member.avatar else bot.user.avatar.url)
364
- embed.title = f"⚠️Your account is not Verified! Unable to level up `{old_level}` -> `{current_level}` ❌"
365
  msg = f'🤗 Hey {member}! You can continue leveling up in the Hugging Face Discord server by Verifying your account, and claim `{claim_exp}` bonus exp points!'
366
  embed.description = f"{msg}"
367
  verification_link = "https://discord.com/channels/879548962464493619/900125909984624713"
@@ -394,7 +394,7 @@ async def add_exp(member_id):
394
  print(f"Removed {removable_role} from {member}")
395
  removable_role_name = removable_role.name
396
  else:
397
- removable_role_name = ""
398
  await member.add_roles(current_role)
399
  print(f"Level Up! Gave {member} {current_role}")
400
 
 
361
  # send embed
362
  embed = Embed(color=Color.red())
363
  embed.set_author(name=f"{member}", icon_url=member.avatar.url if member.avatar else bot.user.avatar.url)
364
+ embed.title = f"⚠️Your account is not Verified! Unable to level up `{🚀}` -> `{current_level}` ❌"
365
  msg = f'🤗 Hey {member}! You can continue leveling up in the Hugging Face Discord server by Verifying your account, and claim `{claim_exp}` bonus exp points!'
366
  embed.description = f"{msg}"
367
  verification_link = "https://discord.com/channels/879548962464493619/900125909984624713"
 
394
  print(f"Removed {removable_role} from {member}")
395
  removable_role_name = removable_role.name
396
  else:
397
+ removable_role_name = "🚀"
398
  await member.add_roles(current_role)
399
  print(f"Level Up! Gave {member} {current_role}")
400