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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -457,10 +457,9 @@ async def on_message(message):
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():
 
457
  with open(f"usrtime/{message.author}", "w") as f:
458
  f.write(str(round(time.time())))
459
  er = round(time.time())
460
+ y = round(time.time()) - int(er)
461
+ print(y)
462
+ if (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct") and (y >= 5):
 
463
  with open(f"usrtime/{message.author}", "w") as f:
464
  f.write(str(round(time.time())))
465
  async with msgchannel.typing():