From: Thorsten Date: Mon, 25 Apr 2022 11:19:44 +0000 (+0200) Subject: decrease sickness X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=e754569bad58154ca989509be20592fb68a16e08;p=urlbot-v3.git decrease sickness --- diff --git a/distbot/plugins/fun.py b/distbot/plugins/fun.py index e3db542..2575121 100644 --- a/distbot/plugins/fun.py +++ b/distbot/plugins/fun.py @@ -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*"]))