diff options
| author | 2019-05-03 16:47:56 +0100 | |
|---|---|---|
| committer | 2019-05-03 16:47:56 +0100 | |
| commit | d999548020860beb3216a67d8312ab254920fe23 (patch) | |
| tree | 3e60c4f39c374380e07da25e0355d67192cf8e87 | |
| parent | Actually import EventManager in ducks.py (diff) | |
| signature | ||
Change min duck messages to 40, change chance back to 5%
| -rw-r--r-- | modules/ducks.py | 4 |
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 |
