Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def save_xp_data():
|
|
41 |
@bot.event
|
42 |
async def on_message(message):
|
43 |
try:
|
44 |
-
if message.author != bot.user:
|
45 |
"""AWAIT LEVEL ALGORITM OR SOMETHING (MULTIPLE FILES?)"""
|
46 |
author_id = str(message.author.id) # dictionary pairs (ID -> TOTAL XP)
|
47 |
xp_data.setdefault(author_id, 0) # default if it doesn't already exist
|
|
|
41 |
@bot.event
|
42 |
async def on_message(message):
|
43 |
try:
|
44 |
+
#if message.author != bot.user: # disabling this means we can track bot usage over time
|
45 |
"""AWAIT LEVEL ALGORITM OR SOMETHING (MULTIPLE FILES?)"""
|
46 |
author_id = str(message.author.id) # dictionary pairs (ID -> TOTAL XP)
|
47 |
xp_data.setdefault(author_id, 0) # default if it doesn't already exist
|