mirror of
https://git.squeakyrat.moe/faggot-chan/
synced 2026-11-04 18:35:45 +01:00
lowered long text chance because dead internet theory
This commit is contained in:
1 parent
328f8a5b4f
commit
b65190b17c
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user