revoke messages from itself

it was supposed to already do this, i guess not though lol @lumeyisnotyou
This commit is contained in:
xfnw 2021-07-12 17:20:06 -04:00
parent 4e255024c5
commit 4082705d59
2 changed files with 3 additions and 1 deletions

2
bot.py
View File

@ -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

View File

@ -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