From cf29c371120929c53490d6017d5f43cf04f3cbc9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 23 May 2019 10:28:14 +0100 Subject: Add usage examples for all settings --- modules/strip_color.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/strip_color.py') 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") -- cgit v1.3.1-10-gc9f91