revoke messages from itself
it was supposed to already do this, i guess not though lol @lumeyisnotyou
This commit is contained in:
parent
4e255024c5
commit
4082705d59
2 changed files with 3 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -85,6 +85,8 @@ class Server(BaseServer):
|
||||||
nick = line.source.split('!')[0]
|
nick = line.source.split('!')[0]
|
||||||
msg = line.params[1]
|
msg = line.params[1]
|
||||||
|
|
||||||
|
if nick == self.nickname:
|
||||||
|
return
|
||||||
if channel == self.nickname:
|
if channel == self.nickname:
|
||||||
channel = nick
|
channel = nick
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@ async def init(self):
|
||||||
# sentance ending weight, lower means longer sentances,
|
# sentance ending weight, lower means longer sentances,
|
||||||
# higher means shorter sentances. this will need to slowly
|
# higher means shorter sentances. this will need to slowly
|
||||||
# get larger as the database grows
|
# get larger as the database grows
|
||||||
shared.enmul = 6
|
shared.enmul = 7
|
||||||
|
|
||||||
|
|
||||||
shared.rawm['nlp'] = filter
|
shared.rawm['nlp'] = filter
|
||||||
|
|
Loading…
Reference in a new issue