Added part()
This commit is contained in:
parent
d65f155740
commit
c64c2cbcd0
|
@ -185,6 +185,9 @@ class IRC(object):
|
|||
def join(self, channel):
|
||||
self.cmd("JOIN", [channel])
|
||||
|
||||
def part(self, channel):
|
||||
self.cmd("PART", [channel])
|
||||
|
||||
def msg(self, target, text):
|
||||
self.cmd("PRIVMSG", [target, text])
|
||||
|
||||
|
|
Reference in a new issue