duck chance should be 5%, not 50%

This commit is contained in:
jesopo 2020-02-19 15:39:11 +00:00
parent 53057576ab
commit 523547e055

View file

@ -39,7 +39,7 @@ class Module(ModuleManager.BaseModule):
DEFAULT_MIN_MESSAGES) DEFAULT_MIN_MESSAGES)
if channel.duck_lines >= min_lines: if channel.duck_lines >= min_lines:
show_duck = random.SystemRandom().randint(1, 2) == 1 show_duck = random.SystemRandom().randint(1, 20) == 1
if show_duck: if show_duck:
self._trigger_duck(channel) self._trigger_duck(channel)