From 3533261c3658dfb3c816f0f8bd6dc8137c60e9d1 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 18 Jun 2023 18:02:22 -0400 Subject: [PATCH] Never declared sendmsg function lol --- ircp.py | 3 +++ 1 file changed, 3 insertions(+) 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: