From f67b269b1b9b81f005a8898c53c65a215e9c08d6 Mon Sep 17 00:00:00 2001 From: vulpine Date: Wed, 27 Apr 2022 19:59:03 -0400 Subject: [PATCH] build privmsg instead of using self.message self.message will somewhat change behavior --- modules/nlp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nlp.py b/modules/nlp.py index 993fe3b..7d48948 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -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):