diff options
| author | 2019-05-23 10:28:14 +0100 | |
|---|---|---|
| committer | 2019-05-23 10:28:14 +0100 | |
| commit | cf29c371120929c53490d6017d5f43cf04f3cbc9 (patch) | |
| tree | fcdce0685aca7a7edb319b35589ecc4ce80edbd6 /modules/strip_color.py | |
| parent | `event.eat()` for command.regex hooks in github module (diff) | |
Add usage examples for all settings
Diffstat (limited to 'modules/strip_color.py')
| -rw-r--r-- | modules/strip_color.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/strip_color.py b/modules/strip_color.py index 5c166938..b2cf8d69 100644 --- a/modules/strip_color.py +++ b/modules/strip_color.py @@ -2,10 +2,10 @@ from src import ModuleManager, utils @utils.export("serverset", {"setting": "strip-color", "help": "Set whether I strip colors from my messages on this server", - "validate": utils.bool_or_none}) + "validate": utils.bool_or_none, "example": "on"}) @utils.export("channelset", {"setting": "strip-color", "help": "Set whether I strip colors from my messages on in this channel", - "validate": utils.bool_or_none}) + "validate": utils.bool_or_none, "example": "on"}) class Module(ModuleManager.BaseModule): @utils.hook("preprocess.send.privmsg") @utils.hook("preprocess.send.notice") |
