Araeynn commited on
Commit
50d91c3
·
verified ·
1 Parent(s): 913ad7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -456,11 +456,11 @@ async def on_message(message):
456
  except:
457
  with open(f"usrtime/{message.author}", "w") as f:
458
  f.write(str(round(time.time())))
459
- er = time.time()
460
  print(er)
461
  print(time.time())
462
  print(time.time() - int(er))
463
- if (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct") and (message.author.id not in bannedUsers) and (round(time.time()) - int(er) < 5):
464
  with open(f"usrtime/{message.author}", "w") as f:
465
  f.write(str(round(time.time())))
466
  async with msgchannel.typing():
 
456
  except:
457
  with open(f"usrtime/{message.author}", "w") as f:
458
  f.write(str(round(time.time())))
459
+ er = round(time.time())
460
  print(er)
461
  print(time.time())
462
  print(time.time() - int(er))
463
+ if (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct") and (message.author.id not in bannedUsers) and (round(time.time()) - int(er) >= 5):
464
  with open(f"usrtime/{message.author}", "w") as f:
465
  f.write(str(round(time.time())))
466
  async with msgchannel.typing():