aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-03 16:07:49 +0100
committerGravatar jesopo2019-05-03 16:07:49 +0100
commitb7e14148bb3a52b565eca434c8e0668a81ac28e8 (patch)
tree940f47cd4cc1407464d79def1bb9fd19a43c66fb /modules
parentthere's no `event` in bootstrap_channel (diff)
signature
Change duck-spawn change to 10% per message after 20 messages
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ducks.py b/modules/ducks.py
index b617929b..1d445984 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -32,7 +32,7 @@ class Module(ModuleManager.BaseModule):
min_lines = channel.get_setting("ducks-min-messages", 20)
if channel.duck_lines >= min_lines:
- show_duck = random.SystemRandom().randint(1, 20) == 1
+ show_duck = random.SystemRandom().randint(1, 10) == 1
if show_duck:
self._trigger_duck(channel)