Spaces:
Running on CPU Upgrade

lunarflu HF Staff commited on
Commit
6c5c8b5
·
verified ·
1 Parent(s): 1b9b9ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -295,7 +295,7 @@ async def add_exp(member_id):
295
  new_xp = new_xp[1:-1]
296
  new_xp = int(new_xp)
297
 
298
- if new_xp % 50 == 0: # staggers messages so we don't send one every time exp is earned
299
  # claim exp (-30 for level 3, but +100 as bonus exp. This scales infinitely until the member verifies,
300
  # so they can continue earning exp, it just won't translate to levels and the leaderboard.
301
  # This way they can claim at any time and get a big boost in levels!
 
295
  new_xp = new_xp[1:-1]
296
  new_xp = int(new_xp)
297
 
298
+ if new_xp % 10 == 0: # staggers messages so we don't send one every time exp is earned
299
  # claim exp (-30 for level 3, but +100 as bonus exp. This scales infinitely until the member verifies,
300
  # so they can continue earning exp, it just won't translate to levels and the leaderboard.
301
  # This way they can claim at any time and get a big boost in levels!