lowered the chance of sending a random long message. i should rework it so it only sends like a couple per day but eeehhh this should do the same thing

This commit is contained in:
david committed 2026-03-15 13:05:54 -03:00
1 parent 770c5f2b75
commit 328f8a5b4f
1 file changed
+1 -1
+1 -1
View File
@@ -200,7 +200,7 @@ async def random_dm():
async def random_message():
await client.wait_until_ready()
while not client.is_closed():
await asyncio.sleep(240) #every 4 minutes
await asyncio.sleep(480) #every 8 minutes
if time.time() - last_server_message < QUIET_COOLDOWN: #only send if server has been quiet for 10 mins
continue
if random.random() < 0.01: #1%