Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -457,6 +457,9 @@ async def on_message(message):
|
|
457 |
with open(f"usrtime/{message.author}", "w") as f:
|
458 |
f.write(str(time.time()))
|
459 |
er = time.time()
|
|
|
|
|
|
|
460 |
if str(message.channel.id) in o.split("\n") or guild_name == "Direct" and message.author.id not in bannedUsers and time.time() - int(er) < 5:
|
461 |
with open(f"usrtime/{message.author}", "w") as f:
|
462 |
f.write(str(time.time()))
|
|
|
457 |
with open(f"usrtime/{message.author}", "w") as f:
|
458 |
f.write(str(time.time()))
|
459 |
er = time.time()
|
460 |
+
print(er)
|
461 |
+
print(time.time())
|
462 |
+
print(time.time() - er)
|
463 |
if str(message.channel.id) in o.split("\n") or guild_name == "Direct" and message.author.id not in bannedUsers and time.time() - int(er) < 5:
|
464 |
with open(f"usrtime/{message.author}", "w") as f:
|
465 |
f.write(str(time.time()))
|