Limit fine percentage from 0% to 100%

This commit is contained in:
Julian Marcos 2024-01-14 03:14:24 +01:00
parent a19aed852a
commit ddbef430e4
No known key found for this signature in database
GPG Key ID: 33A8988F3B9067A0
1 changed files with 1 additions and 1 deletions

View File

@ -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")