aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot.py6
1 files 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: