Compare commits

...

2 Commits

Author SHA1 Message Date
xfnw 4082705d59 revoke messages from itself
it was supposed to already do this, i guess not though lol @lumeyisnotyou
2021-07-12 17:20:06 -04:00
xfnw 4e255024c5 rip sturtz irc 2021-07-12 11:52:09 -04:00
2 changed files with 8 additions and 6 deletions

12
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
@ -131,12 +133,12 @@ async def main():
params = ConnectionParams(
"min",
host = "irc.sturtz.cf",
port = 6667,
tls = False,
autojoin = ['#sturtz_network'])
host = "manonet.lumey.dev",
port = 6697,
tls = True,
autojoin = ['#manonet'])
await bot.add_server("sturtz", params)
await bot.add_server("manonet", params)
await bot.run()
if __name__ == "__main__":

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