revert irccore
This commit is contained in:
parent
2533c5872a
commit
ca3b4f903f
|
@ -346,14 +346,14 @@ class IRCCore(object):
|
||||||
:type channel: str"""
|
:type channel: str"""
|
||||||
self.sendRaw("JOIN %s" % channel, priority=3)
|
self.sendRaw("JOIN %s" % channel, priority=3)
|
||||||
|
|
||||||
def act_PRIVMSG(self, towho, message, priority=None):
|
def act_PRIVMSG(self, towho, message):
|
||||||
"""Use the `/msg` command
|
"""Use the `/msg` command
|
||||||
|
|
||||||
:param towho: the target #channel or user's name
|
:param towho: the target #channel or user's name
|
||||||
:type towho: str
|
:type towho: str
|
||||||
:param message: the message to send
|
:param message: the message to send
|
||||||
:type message: str"""
|
:type message: str"""
|
||||||
self.sendRaw("PRIVMSG %s :%s" % (towho, message), priority=priority)
|
self.sendRaw("PRIVMSG %s :%s" % (towho, message))
|
||||||
|
|
||||||
def act_MODE(self, channel, mode, extra=None):
|
def act_MODE(self, channel, mode, extra=None):
|
||||||
"""Use the `/mode` command
|
"""Use the `/mode` command
|
||||||
|
|
Loading…
Reference in New Issue