diff --git a/bot.py b/bot.py index ad67009..1ab0f7b 100755 --- a/bot.py +++ b/bot.py @@ -85,6 +85,8 @@ class Server(BaseServer): nick = line.source.split('!')[0] msg = line.params[1] + if nick == self.nickname: + return if channel == self.nickname: channel = nick diff --git a/modules/nlp.py b/modules/nlp.py index f81c760..01a9443 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -110,7 +110,7 @@ async def init(self): # sentance ending weight, lower means longer sentances, # higher means shorter sentances. this will need to slowly # get larger as the database grows - shared.enmul = 6 + shared.enmul = 7 shared.rawm['nlp'] = filter