diff options
| author | 2019-08-30 14:40:54 +0100 | |
|---|---|---|
| committer | 2019-08-30 14:40:54 +0100 | |
| commit | 4bfb4c3200506da63eb0451d42a300ee400a176c (patch) | |
| tree | d3efea90a174ca39371938f6e552b26fc8f5c33a /modules/ducks.py | |
| parent | Logging.BitBotFormatter no longer uses the format it's given (always iso8601) (diff) | |
| signature | ||
Add IntRangeSetting, reorder OptionsSetting arg order
Diffstat (limited to 'modules/ducks.py')
| -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 d3708d08..8fb62ebf 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -11,8 +11,8 @@ DEFAULT_MIN_MESSAGES = 100 @utils.export("channelset", utils.BoolSetting("ducks-enabled", "Whether or not to spawn ducks")) -@utils.export("channelset", utils.IntSetting("ducks-min-messages", - "Minimum messages between ducks spawning", example="50")) +@utils.export("channelset", utils.IntRangeSetting(50, 200, "ducks-min-messages", + "Minimum messages between ducks spawning")) @utils.export("channelset", utils.BoolSetting("ducks-kick", "Whether or not to kick someone talking to non-existent ducks")) class Module(ModuleManager.BaseModule): |
