Change duck-spawn change to 10% per message after 20 messages
This commit is contained in:
parent
8ac93d57f3
commit
b7e14148bb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue