aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid <[email protected]>2026-03-23 12:45:26 -0300
committerdavid <[email protected]>2026-03-23 12:45:26 -0300
commitf55f7b19238070e09be1722eaa588f0c1db07a1a (patch)
treeee2ad3699b3b675b33b796f179a087d91b7a72e6
parentb65190b17c77c57425e60cb1155edd4c288eb777 (diff)
downloadfaggot-chan-f55f7b19238070e09be1722eaa588f0c1db07a1a.tar.gz
faggot-chan-f55f7b19238070e09be1722eaa588f0c1db07a1a.zip
accidentally removed important colon woops
-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