Add IRCServer.send_tagmsg, to send TAGMSG
commands
This commit is contained in:
parent
ec3096fb50
commit
8d97e51bf3
1 changed files with 3 additions and 0 deletions
|
@ -337,6 +337,9 @@ class Server(IRCObject.Object):
|
||||||
return self.send("%sNOTICE %s %s" %
|
return self.send("%sNOTICE %s %s" %
|
||||||
(self._tag_str(tags), target, utils.irc.trailing(full_message)))
|
(self._tag_str(tags), target, utils.irc.trailing(full_message)))
|
||||||
|
|
||||||
|
def send_tagmsg(self, target, tags: dict):
|
||||||
|
return self.send("%s TAGMSG %s" % (self._tag_str(tags), target))
|
||||||
|
|
||||||
def send_mode(self, target: str, mode: str=None, args: str=None
|
def send_mode(self, target: str, mode: str=None, args: str=None
|
||||||
) -> IRCLine.Line:
|
) -> IRCLine.Line:
|
||||||
return self.send("MODE %s%s%s" % (target,
|
return self.send("MODE %s%s%s" % (target,
|
||||||
|
|
Loading…
Reference in a new issue