Added say command to OwnerCommands.

This commit is contained in:
Jeremy Fincher 2003-04-21 01:58:04 +00:00
parent 5c6a6b60a0
commit 96e2a67aa5

View File

@ -310,6 +310,11 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
"""takes no arguments"""
irc.reply(msg, str(os.system('cvs up')))
def say(self, irc, msg, args):
"""<channel> <text>"""
(channel, text) = getArgs(args, needed=2)
irc.queueMsg(ircmsgs.privmsg(channel, text))
standardPrivmsgModules = [OwnerCommands]