mirror of
https://github.com/Newnetirc/Bitbot-Modified-Modules.git
synced 2026-01-23 22:40:18 +00:00
Limit fine percentage from 0% to 100%
This commit is contained in:
2
ducks.py
2
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")
|
||||
|
||||
Reference in New Issue
Block a user