aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index a9a3c63..67b76e3 100644
--- a/bot.py
+++ b/bot.py
@@ -167,7 +167,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.005: #should be 0.5%
members = [m for m in guild.members if not m.bot]
if dm_sent:
dm_sent = False