mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-23 00:16:41 +00:00
Never declared sendmsg function lol
This commit is contained in:
parent
a8a6c431cb
commit
3533261c36
3
ircp.py
3
ircp.py
@ -123,6 +123,9 @@ class probe:
|
|||||||
self.reader = None
|
self.reader = None
|
||||||
self.write = None
|
self.write = None
|
||||||
|
|
||||||
|
async def sendmsg(self, target, msg):
|
||||||
|
await self.raw(f'PRIVMSG {target} :{msg}')
|
||||||
|
|
||||||
async def run(self):
|
async def run(self):
|
||||||
async with self.semaphore:
|
async with self.semaphore:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user