mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +01:00
Added say command to OwnerCommands.
This commit is contained in:
parent
5c6a6b60a0
commit
96e2a67aa5
@ -310,6 +310,11 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
|
|||||||
"""takes no arguments"""
|
"""takes no arguments"""
|
||||||
irc.reply(msg, str(os.system('cvs up')))
|
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]
|
standardPrivmsgModules = [OwnerCommands]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user