aboutsummaryrefslogtreecommitdiff
path: root/modules/ducks.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-03 16:47:56 +0100
committerGravatar jesopo2019-05-03 16:47:56 +0100
commitd999548020860beb3216a67d8312ab254920fe23 (patch)
tree3e60c4f39c374380e07da25e0355d67192cf8e87 /modules/ducks.py
parentActually import EventManager in ducks.py (diff)
signature
Change min duck messages to 40, change chance back to 5%
Diffstat (limited to 'modules/ducks.py')
-rw-r--r--modules/ducks.py4
1 files changed, 2 insertions, 2 deletions
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