diff options
| author | david <[email protected]> | 2026-03-15 13:05:54 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-03-15 13:05:54 -0300 |
| commit | 328f8a5b4f2058a0c94ebeddc4c8c382abbd84eb (patch) | |
| tree | 4d5ae9b8ef66c466376e5dce792143699ac75eba | |
| parent | 770c5f2b75c16cb14a6e017089e11e5947eeb4d8 (diff) | |
| download | faggot-chan-328f8a5b4f2058a0c94ebeddc4c8c382abbd84eb.tar.gz faggot-chan-328f8a5b4f2058a0c94ebeddc4c8c382abbd84eb.zip | |
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
| -rw-r--r-- | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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% |
