diff options
| author | 2019-05-23 10:28:14 +0100 | |
|---|---|---|
| committer | 2019-05-23 10:28:14 +0100 | |
| commit | cf29c371120929c53490d6017d5f43cf04f3cbc9 (patch) | |
| tree | fcdce0685aca7a7edb319b35589ecc4ce80edbd6 /modules/print_activity.py | |
| parent | `event.eat()` for command.regex hooks in github module (diff) | |
Add usage examples for all settings
Diffstat (limited to 'modules/print_activity.py')
| -rw-r--r-- | modules/print_activity.py | 3 |
1 files changed, 2 insertions, 1 deletions
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", [ |
