Add help for !words

This commit is contained in:
jesopo 2018-08-03 16:25:27 +01:00
parent 45dca53497
commit 65feaef283

View file

@ -7,7 +7,8 @@ class Module(object):
).hook(self.channel_message) ).hook(self.channel_message)
bot.events.on("received").on("command").on("words" bot.events.on("received").on("command").on("words"
).hook(self.words, channel_only=True, ).hook(self.words, channel_only=True,
usage="<nickname>") usage="<nickname>", help=
"See how many words you or the given nickname have used")
bot.events.on("received").on("command").on("trackword" bot.events.on("received").on("command").on("trackword"
).hook(self.track_word, min_args=1, ).hook(self.track_word, min_args=1,
help="Start tracking a word", usage="<word>", help="Start tracking a word", usage="<word>",