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/print_activity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/print_activity.py') diff --git a/modules/print_activity.py b/modules/print_activity.py index 0aaf583a..36f82c79 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -2,7 +2,8 @@ import datetime from src import EventManager, ModuleManager, utils @utils.export("botset", {"setting": "print-motd", - "help": "Set whether I print /motd", "validate": utils.bool_or_none}) + "help": "Set whether I print /motd", "validate": utils.bool_or_none, + "example": "on"}) class Module(ModuleManager.BaseModule): def _print(self, event): self.bot.log.info("%s%s | %s", [ -- cgit v1.3.1-10-gc9f91