aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot.py b/bot.py
index c1d0323..a9a3c63 100644
--- a/bot.py
+++ b/bot.py
@@ -165,9 +165,9 @@ async def random_dm():
global dm_sent
await client.wait_until_ready()
while not client.is_closed():
- await asyncio.sleep(300) #every 5 minutes
+ await asyncio.sleep(600) #every 10 minutes
for guild in client.guilds:
- if random.random() < 0.01: #should be 1%
+ if random.random() < 0.005 #should be 0.5%
members = [m for m in guild.members if not m.bot]
if dm_sent:
dm_sent = False