raw raw raw
This commit is contained in:
parent
fd92a2250e
commit
ade910a925
4
bot.py
4
bot.py
|
@ -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]]))
|
||||
|
||||
|
|
4
filts.py
4
filts.py
|
@ -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']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue