Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -456,10 +456,12 @@ 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 =
|
460 |
y = round(time.time()) - int(er)
|
461 |
print(y)
|
462 |
-
if (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct
|
|
|
|
|
463 |
with open(f"usrtime/{message.author}", "w") as f:
|
464 |
f.write(str(round(time.time())))
|
465 |
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 = 0
|
460 |
y = round(time.time()) - int(er)
|
461 |
print(y)
|
462 |
+
if (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct):
|
463 |
+
if y < 5:
|
464 |
+
return 0
|
465 |
with open(f"usrtime/{message.author}", "w") as f:
|
466 |
f.write(str(round(time.time())))
|
467 |
async with msgchannel.typing():
|