Never declared sendmsg function lol

This commit is contained in:
Dionysus 2023-06-18 18:02:22 -04:00
parent a8a6c431cb
commit 3533261c36
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 3 additions and 0 deletions

View File

@ -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: