From 08de3c769472e7070ed149e7980eac2355299000 Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Thu, 25 Jun 2009 20:15:35 +0000 Subject: Updates to documentation on supybot admin commands darcs-hash:20090625201535-82ea9-ea66116b4366b216eaabbb462282e2cc9058efb1.gz --- (limited to 'plugin.py') diff --git a/plugin.py b/plugin.py index 2a43dad..0acf18c 100644 --- a/plugin.py +++ b/plugin.py @@ -118,7 +118,9 @@ class MeetBot(callbacks.Plugin): irc.reply(reply) listmeetings = wrap(listmeetings, ['admin']) def savemeetings(self, irc, msg, args): - """Save all currently active meetings.""" + """ + + Save all currently active meetings.""" numSaved = 0 for M in meeting_cache: M.save() @@ -152,12 +154,15 @@ class MeetBot(callbacks.Plugin): import time M.endtime = time.localtime() M.save() + del meeting_cache[Mkey] irc.reply("Deleted: meeting on (%s, %s)."%(channel, network)) deletemeeting = wrap(deletemeeting, ['admin', "channel", "something", optional("boolean", True)]) def pingall(self, irc, msg, args, message): - """Send a broadcast ping to all users on the channel. + """ + + Send a broadcast ping to all users on the channel. An message to be sent along with this ping must also be supplied for this command to work. -- cgit v0.9.1