From 5428acfe874e62c00e6050b03139d5c17e1cd19d Mon Sep 17 00:00:00 2001 From: david Date: Sun, 12 Apr 2026 17:19:42 +0200 Subject: [PATCH] small decrease in chance of replying I should make this a parameter later... --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 0b936b4..597ef2c 100644 --- a/bot.py +++ b/bot.py @@ -55,7 +55,7 @@ block_id = ["1000000000000003", "1000000000000004"] #fuck these two in particula moralfag_id = "1000000000000002" moralfag_counter = 0 moralfag_skip = False -faglimit = 3 #ignore every x reply +faglimit = 2 #ignore every x reply last_server_message = 0.0 # unix timestamp of last message anyone sent in the server dm_sent = False @@ -181,7 +181,7 @@ async def random_dm(): while not client.is_closed(): await asyncio.sleep(600) #every 10 minutes for guild in client.guilds: - if random.random() < 0.005: #should be 0.5% + if random.random() < 0.001: #should be 0.1% members = [m for m in guild.members if not m.bot] if dm_sent: dm_sent = False @@ -394,7 +394,7 @@ async def on_message(message): moralfag_skip = False return - if not mentioned and random.random() > 0.05: #5% chance of replying if not mentiond + if not mentioned and random.random() > 0.03: #3% chance of replying if not mentiond return if replied_message: