Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
02f533b
·
1 Parent(s): 60a6d40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -59,6 +59,7 @@ def calculate_xp(level):
59
  @bot.command(name='add_exp_hub')
60
  async def add_exp_hub(ctx):
61
  try:
 
62
  role = discord.utils.get(guild.roles, id=900063512829755413)
63
  if role:
64
  # Get members with the specified role
 
59
  @bot.command(name='add_exp_hub')
60
  async def add_exp_hub(ctx):
61
  try:
62
+ guild = bot.get_guild(879548962464493619)
63
  role = discord.utils.get(guild.roles, id=900063512829755413)
64
  if role:
65
  # Get members with the specified role