diff options
| author | 2019-05-03 16:07:49 +0100 | |
|---|---|---|
| committer | 2019-05-03 16:07:49 +0100 | |
| commit | b7e14148bb3a52b565eca434c8e0668a81ac28e8 (patch) | |
| tree | 940f47cd4cc1407464d79def1bb9fd19a43c66fb /modules/ducks.py | |
| parent | there's no `event` in bootstrap_channel (diff) | |
| signature | ||
Change duck-spawn change to 10% per message after 20 messages
Diffstat (limited to 'modules/ducks.py')
| -rw-r--r-- | modules/ducks.py | 2 |
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) |
