From ddbef430e49fbbc3744e90f7f699ef13fb8dac37 Mon Sep 17 00:00:00 2001 From: Julian Marcos Date: Sun, 14 Jan 2024 03:14:24 +0100 Subject: [PATCH] Limit fine percentage from 0% to 100% --- ducks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ducks.py b/ducks.py index 9885963..c42d163 100644 --- a/ducks.py +++ b/ducks.py @@ -18,7 +18,7 @@ DEFAULT_MIN_MESSAGES = 50 "Whether or not to kick someone talking to non-existent ducks")) @utils.export("channelset", utils.BoolSetting("ducks-prevent-highlight", "Whether or not to prevent highlighting users with !friends/!enemies")) -@utils.export("channelset", utils.IntRangeSetting(0, 100000, "ducks-fine", "The fine amount the users get fined when you shoot a duck")) +@utils.export("channelset", utils.IntRangeSetting(0, 100, "ducks-fine", "The fine amount the users get fined when you shoot a duck")) class Module(ModuleManager.BaseModule): @utils.hook("new.channel")