aboutsummaryrefslogtreecommitdiff
path: root/modules/thesaurus.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-04-06 12:02:44 +0100
committerGravatar jesopo2016-04-06 12:02:44 +0100
commit9b2556a65a963ebab123bd4bdc090658f4cd6fef (patch)
tree610a8875039227453a3842924bd012e3afcf6883 /modules/thesaurus.py
parentchanged README.md a little. (diff)
added usage help to a lot of modules, added a verbose option to karma.py.
Diffstat (limited to 'modules/thesaurus.py')
-rw-r--r--modules/thesaurus.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/thesaurus.py b/modules/thesaurus.py
index b0b54aa3..2580c191 100644
--- a/modules/thesaurus.py
+++ b/modules/thesaurus.py
@@ -9,7 +9,8 @@ class Module(object):
self.bot = bot
bot.events.on("received").on("command").on("synonym",
"antonym").hook(self.thesaurus, min_args=1,
- help="Get synonyms/antonyms for a provided phrase")
+ help="Get synonyms/antonyms for a provided phrase",
+ usage="<word> [type]")
def thesaurus(self, event):
phrase = event["args_split"][0]