From d999548020860beb3216a67d8312ab254920fe23 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 3 May 2019 16:47:56 +0100 Subject: Change min duck messages to 40, change chance back to 5% --- modules/ducks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/ducks.py') diff --git a/modules/ducks.py b/modules/ducks.py index 175ae7f3..d252a4a9 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -29,10 +29,10 @@ class Module(ModuleManager.BaseModule): if ducks_enabled and not channel.duck_active: channel.duck_lines += 1 - min_lines = channel.get_setting("ducks-min-messages", 20) + min_lines = channel.get_setting("ducks-min-messages", 40) if channel.duck_lines >= min_lines: - show_duck = random.SystemRandom().randint(1, 10) == 1 + show_duck = random.SystemRandom().randint(1, 20) == 1 if show_duck: channel.duck_lines = 0 -- cgit v1.3.1-10-gc9f91