Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -183,6 +183,8 @@ async def add_exp(member_id):
|
|
183 |
new_xp = old_xp + XP_PER_MESSAGE
|
184 |
print(f"new_xp = old_xp + XP_PER_MESSAGE / {new_xp} = {old_xp} + {XP_PER_MESSAGE}")
|
185 |
data.loc[index, 'discord_exp'] = new_xp # do not change column name
|
|
|
|
|
186 |
print(f"Record for {member} updated from {old_xp} to {new_xp} (+{XP_PER_MESSAGE}) ")
|
187 |
|
188 |
# level up
|
|
|
183 |
new_xp = old_xp + XP_PER_MESSAGE
|
184 |
print(f"new_xp = old_xp + XP_PER_MESSAGE / {new_xp} = {old_xp} + {XP_PER_MESSAGE}")
|
185 |
data.loc[index, 'discord_exp'] = new_xp # do not change column name
|
186 |
+
test = data.loc[index, 'discord_exp']
|
187 |
+
print(test)
|
188 |
print(f"Record for {member} updated from {old_xp} to {new_xp} (+{XP_PER_MESSAGE}) ")
|
189 |
|
190 |
# level up
|