From a9a3d2ecf1d8b123bb7dbd12fced93c321c2eaac Mon Sep 17 00:00:00 2001 From: xfnw Date: Sat, 22 May 2021 18:55:16 -0400 Subject: [PATCH] merp merp merp --- modules/nlp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nlp.py b/modules/nlp.py index fc52a32..49701b2 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -81,8 +81,8 @@ async def filter(self, c, n, m): if m[:len(shared.prefix)] == shared.prefix: m = m[len(shared.prefix):] await go(self, c, n, m) - elif m[:4] == 'min ': - m = m[4:] + elif m[:len(self.nickname)+1] == self.nickname+' ': + m = m[len(self.nickname)+1:] await go(self, c, n, m) elif '#' not in c and n != self.nickname: await go(self, c, n, m) @@ -104,7 +104,7 @@ async def init(self): shared.qtime = {} shared.learntime = 0 - shared.learndelay = 4 + shared.learndelay = 1 shared.enmul = 40 shared.rawm['nlp'] = filter