aboutsummaryrefslogtreecommitdiff
path: root/modules/words.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-23 10:28:14 +0100
committerGravatar jesopo2019-05-23 10:28:14 +0100
commitcf29c371120929c53490d6017d5f43cf04f3cbc9 (patch)
treefcdce0685aca7a7edb319b35589ecc4ce80edbd6 /modules/words.py
parent`event.eat()` for command.regex hooks in github module (diff)
signature
Add usage examples for all settings
Diffstat (limited to 'modules/words.py')
-rw-r--r--modules/words.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/words.py b/modules/words.py
index c9798712..3af06f4b 100644
--- a/modules/words.py
+++ b/modules/words.py
@@ -7,7 +7,7 @@ WORD_STOP = WORD_DELIM+"”)}>;:.,!?"
@utils.export("set", {"setting": "word-tracking",
"help": "Disable/enable tracking your wordcounts",
- "validate": utils.bool_or_none})
+ "validate": utils.bool_or_none, "example": "on"})
class Module(ModuleManager.BaseModule):
def _channel_message(self, user, event):
if not user.get_setting("word-tracking", True):