lunarflu HF staff commited on
Commit
277953c
1 Parent(s): 0948a0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- await update_google_sheet()
 
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