diff options
author | Richard Darst <rkd@zgib.net> | 2009-06-25 20:15:35 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-06-25 20:15:35 (GMT) |
commit | 08de3c769472e7070ed149e7980eac2355299000 (patch) | |
tree | f0884a32d4054cc789c118fadb04c261e2a14cf7 /plugin.py | |
parent | bc1e86d1ab28ea3c689dc2fc7e8abbe306964392 (diff) |
Updates to documentation on supybot admin commands
darcs-hash:20090625201535-82ea9-ea66116b4366b216eaabbb462282e2cc9058efb1.gz
Diffstat (limited to 'plugin.py')
-rw-r--r-- | plugin.py | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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. + """<text> + + 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. |