Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -366,7 +366,7 @@ async def add_exp(member_id):
|
|
366 |
total_exp = total_exp[1:-1]
|
367 |
total_exp = int(total_exp)
|
368 |
|
369 |
-
if total_exp %
|
370 |
# claim exp (-30 for level 3, but +100 as bonus exp. This scales infinitely until the member verifies,
|
371 |
# so they can continue earning exp, it just won't translate to levels and the leaderboard.
|
372 |
# This way they can claim at any time and get a big boost in levels!
|
|
|
366 |
total_exp = total_exp[1:-1]
|
367 |
total_exp = int(total_exp)
|
368 |
|
369 |
+
if total_exp % 30 == 0: # staggers messages so we don't send one every time exp is earned
|
370 |
# claim exp (-30 for level 3, but +100 as bonus exp. This scales infinitely until the member verifies,
|
371 |
# so they can continue earning exp, it just won't translate to levels and the leaderboard.
|
372 |
# This way they can claim at any time and get a big boost in levels!
|