diff --git a/ircp.py b/ircp.py index 1f04f30..f41e8ea 100644 --- a/ircp.py +++ b/ircp.py @@ -123,6 +123,9 @@ class probe: self.reader = None self.write = None + async def sendmsg(self, target, msg): + await self.raw(f'PRIVMSG {target} :{msg}') + async def run(self): async with self.semaphore: try: