]> git.aero2k.de Git - urlbot-v3.git/commitdiff
decrease sickness
authorThorsten <mail@aero2k.de>
Mon, 25 Apr 2022 11:19:44 +0000 (13:19 +0200)
committerThorsten <mail@aero2k.de>
Mon, 25 Apr 2022 11:19:44 +0000 (13:19 +0200)
distbot/plugins/fun.py

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