]> git.aero2k.de Git - urlbot-v3.git/commitdiff
dumb me
authorThorsten <mail@aero2k.de>
Mon, 25 Apr 2022 20:21:08 +0000 (22:21 +0200)
committerThorsten <mail@aero2k.de>
Mon, 25 Apr 2022 20:21:08 +0000 (22:21 +0200)
distbot/plugins/fun.py

index 25751210e5a14bc343bf0c66505b1442f7b45b6a..cf1403b3cbec7374972375addb5243e1c22ee7a5 100644 (file)
@@ -189,7 +189,7 @@ class Sick(Worker):
     description = "omg a computer virus"
 
     def parse_body(self, msg):
-        if random.randint(0, 1000) > 900:
+        if random.randint(0, 1000) > 990:
             time.sleep(random.randint(1, 5))
             return Action(msg=random.choice(["/me sneezes", "*cough*"]))