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/amsg.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/amsg.py') diff --git a/plugins/amsg.py b/plugins/amsg.py index 697f793f..a002b11e 100644 --- a/plugins/amsg.py +++ b/plugins/amsg.py @@ -5,7 +5,10 @@ from tabs import MucTab class Plugin(BasePlugin): def init(self): - self.add_command('amsg', self.command_amsg, "Usage: /amsg \nAmsg: Broadcast the message to all the joined rooms.") + self.add_command('amsg', self.command_amsg, + usage='', + short='Broadcast a message', + help='Broadcast the message to all the joined rooms.') def command_amsg(self, args): for room in self.core.tabs: -- cgit v1.2.3