mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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"""
|
||||
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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user