build privmsg instead of using self.message

self.message will somewhat change behavior
This commit is contained in:
vulpine 2022-04-27 19:59:03 -04:00 committed by GitHub
parent 2a21330e8b
commit f67b269b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ async def go(self, c, n, m):
)
if msg[-1] == "\x01" and msg[0] != "\x01":
msg = msg[:-1]
await self.message(c, msg)
await self.send(build("PRIVMSG", [c, msg]))
async def init(self):