Update __init__.py
This commit is contained in:
parent
759a3c0148
commit
5bcb11f09d
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ class IRCSession: # Actual IRC session
|
|||
self.send(f"PART {chan}")
|
||||
def privmsg(self, target:str, content:str):
|
||||
self.send(f"PRIVMSG {target} :{content}")
|
||||
self.messages.append(Message(content=content, chan=target, nick=self.nick))
|
||||
def close(self):
|
||||
if self.ssl:
|
||||
self.wsocket.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue