Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -460,7 +460,7 @@ async def on_message(message):
|
|
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():
|
|
|
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():
|