diff options
author | mathieui <mathieui@mathieui.net> | 2013-03-01 19:25:31 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-03-01 19:25:31 +0100 |
commit | e1956533a6e04d7ba2afdbc841b48804a84120b3 (patch) | |
tree | fc2e61bacc68adc9d0c5382a4797018db1223eab /plugins/tell.py | |
parent | 43c93a0a1b84c87b587174c49753b036f42672cd (diff) | |
download | poezio-e1956533a6e04d7ba2afdbc841b48804a84120b3.tar.gz poezio-e1956533a6e04d7ba2afdbc841b48804a84120b3.tar.bz2 poezio-e1956533a6e04d7ba2afdbc841b48804a84120b3.tar.xz poezio-e1956533a6e04d7ba2afdbc841b48804a84120b3.zip |
Fix #2231 (update the plugins to use the new help system)
And fix some imprecisions/mistakes in the help.
Diffstat (limited to 'plugins/tell.py')
-rw-r--r-- | plugins/tell.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/tell.py b/plugins/tell.py index bcb488b7..f2ed49c8 100644 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -5,10 +5,14 @@ import common class Plugin(BasePlugin): def init(self): self.add_tab_command(tabs.MucTab, 'tell', self.command_tell, - '/tell <nick> <message>\nTell: will tell <nick> of <message> when he next joins.') + usage='<nick> <message>', + help='Will tell <nick> of <message> when he next joins.', + short='Send a message when someone joins') self.add_tab_command(tabs.MucTab, 'untell', self.command_untell, - '/untell <nick>\nUntell: will remove the saved messages from /tell.', - self.completion_untell) + usage='<nick>', + help='Remove the planned messages from /tell.', + short='Cancel a /tell message', + completion=self.completion_untell) self.add_event_handler('muc_join', self.on_join) # {tab -> {nick -> [messages]} self.tabs = {} |