From e1956533a6e04d7ba2afdbc841b48804a84120b3 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 1 Mar 2013 19:25:31 +0100 Subject: Fix #2231 (update the plugins to use the new help system) And fix some imprecisions/mistakes in the help. --- plugins/tell.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'plugins/tell.py') 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 \nTell: will tell of when he next joins.') + usage=' ', + help='Will tell of when he next joins.', + short='Send a message when someone joins') self.add_tab_command(tabs.MucTab, 'untell', self.command_untell, - '/untell \nUntell: will remove the saved messages from /tell.', - self.completion_untell) + usage='', + 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 = {} -- cgit v1.2.3