From 9885203c6799c121f5bc8a733dc1937fe8c1b4d6 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 8 Mar 2013 22:53:35 +0100 Subject: Update the plugins to use the PluginAPI Also: - Add get_conversation_messages() to PluginAPI - Make plugins_autoload colon-separated instead of space-separated (for consistency) - Replace a JID() with a safeJID() in the uptime plugin --- plugins/reminder.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/reminder.py') diff --git a/plugins/reminder.py b/plugins/reminder.py index 03711906..16a3f710 100644 --- a/plugins/reminder.py +++ b/plugins/reminder.py @@ -6,17 +6,17 @@ import timed_events class Plugin(BasePlugin): def init(self): - self.add_command('remind', self.command_remind, + self.api.add_command('remind', self.command_remind, usage=' ', help='Remind you of every