Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -349,8 +349,8 @@ async def add_exp(member_id):
|
|
| 349 |
if verified_role not in member.roles:
|
| 350 |
|
| 351 |
# L12345L -> `12345` -> 12345
|
| 352 |
-
|
| 353 |
-
|
| 354 |
|
| 355 |
#if total_exp % 30 == 0: # staggers messages so we don't send one every time exp is earned
|
| 356 |
# claim exp (-30 for level 3, but +100 as bonus exp. This scales infinitely until the member verifies,
|
|
|
|
| 349 |
if verified_role not in member.roles:
|
| 350 |
|
| 351 |
# L12345L -> `12345` -> 12345
|
| 352 |
+
total_exp = total_exp[1:-1]
|
| 353 |
+
total_exp = int(total_exp)
|
| 354 |
|
| 355 |
#if total_exp % 30 == 0: # staggers messages so we don't send one every time exp is earned
|
| 356 |
# claim exp (-30 for level 3, but +100 as bonus exp. This scales infinitely until the member verifies,
|