Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -457,7 +457,7 @@ async def on_message(message):
|
|
| 457 |
er = f.read()
|
| 458 |
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:
|
| 459 |
with open(f"usrtime/{message.author}", "w") as f:
|
| 460 |
-
f.write(time.time())
|
| 461 |
async with msgchannel.typing():
|
| 462 |
context += f"GPT4 Correct Assistant:"
|
| 463 |
load = random.choice(
|
|
|
|
| 457 |
er = f.read()
|
| 458 |
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:
|
| 459 |
with open(f"usrtime/{message.author}", "w") as f:
|
| 460 |
+
f.write(str(time.time()))
|
| 461 |
async with msgchannel.typing():
|
| 462 |
context += f"GPT4 Correct Assistant:"
|
| 463 |
load = random.choice(
|