lowered long text chance because dead internet theory

This commit is contained in:
david committed 2026-03-23 12:43:56 -03:00
1 parent 328f8a5b4f
commit b65190b17c
1 file changed
+2 -2
+2 -2
View File
@@ -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