projects
/
urlbot-v3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e754569
)
dumb me
author
Thorsten
<mail@aero2k.de>
Mon, 25 Apr 2022 20:21:08 +0000
(22:21 +0200)
committer
Thorsten
<mail@aero2k.de>
Mon, 25 Apr 2022 20:21:08 +0000
(22:21 +0200)
distbot/plugins/fun.py
patch
|
blob
|
history
diff --git
a/distbot/plugins/fun.py
b/distbot/plugins/fun.py
index 25751210e5a14bc343bf0c66505b1442f7b45b6a..cf1403b3cbec7374972375addb5243e1c22ee7a5 100644
(file)
--- 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, 1000) > 9
0
0:
+ if random.randint(0, 1000) > 9
9
0:
time.sleep(random.randint(1, 5))
return Action(msg=random.choice(["/me sneezes", "*cough*"]))