raw raw raw

This commit is contained in:
vulpine 2020-10-16 18:48:41 -04:00
parent fd92a2250e
commit ade910a925
2 changed files with 5 additions and 3 deletions

4
bot.py
View File

@ -30,7 +30,9 @@ class Server(BaseServer):
return
if line.params[1] == '!reload':
importlib.reload(filts)
await self.linelog('reloaded')
await self.linelog('reloaded')#sifakis
if line.params[1][0:9] == "Sifakis: " and line.tags and 'account' in line.tags and line.tags['account'] == 'lickthecheese':
await self.send_raw(line.params[1][9:])
if line.command == "INVITE":
await self.send(build("JOIN",[line.params[1]]))

View File

@ -13,10 +13,10 @@ async def line_read(self,line):
async def on_join(self,line):
reason = []
if not line.tags or 'account' not in line.tags:
if not line.tags or 'account' not in line.tags and self.name != 'freenode':
reason.append('NO_NS_ACCOUNT')
if line.tags and 'account' in line.tags:
if line.tags and 'account' in line.tags and self.name != 'freenode':
account = line.tags['account']