Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -282,8 +282,9 @@ async def add_exp(member_id, message):
|
|
282 |
print(f"----------------------------------------------------")
|
283 |
|
284 |
if member_id == 811235357663297546:
|
285 |
-
if message.content == "update_sheet"
|
286 |
-
|
|
|
287 |
except Exception as e:
|
288 |
print(f"add_exp Error: {e}")
|
289 |
|
|
|
282 |
print(f"----------------------------------------------------")
|
283 |
|
284 |
if member_id == 811235357663297546:
|
285 |
+
if message.content == "update_sheet":
|
286 |
+
await asyncio.sleep(1)
|
287 |
+
await update_google_sheet()
|
288 |
except Exception as e:
|
289 |
print(f"add_exp Error: {e}")
|
290 |
|