Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ async def on_message(message):
|
|
236 |
try:
|
237 |
if message.author.id not in bot_ids:
|
238 |
print(f"adding exp from message {message.author}")
|
239 |
-
|
240 |
#await periodic_api_test() # run this ~1 per day otherwise will lead to issues
|
241 |
await bot.process_commands(message)
|
242 |
except Exception as e:
|
|
|
236 |
try:
|
237 |
if message.author.id not in bot_ids:
|
238 |
print(f"adding exp from message {message.author}")
|
239 |
+
await add_exp(message.author.id)
|
240 |
#await periodic_api_test() # run this ~1 per day otherwise will lead to issues
|
241 |
await bot.process_commands(message)
|
242 |
except Exception as e:
|