Exemplo n.º 1
0
Arquivo: tikkle.py Projeto: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.tikklers = file2obj(self.filename)
     except Exception:
         self.tikklers = {}
Exemplo n.º 2
0
Arquivo: karma.py Projeto: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.karmadict = file2obj(self.filename)
     except IOError:
         self.karmadict = {}
Exemplo n.º 3
0
Arquivo: decide.py Projeto: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
Exemplo n.º 4
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     self.importconf()
Exemplo n.º 5
0
Arquivo: admin.py Projeto: zod/pyhkal
 def __init__(self,head,adminpass="******"):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     self.adminpass = adminpass
Exemplo n.º 6
0
Arquivo: stfu.py Projeto: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.regexpattern = self.regexpattern.format(self.head.mainchannel)
     self.handleInput = self.stfutrigger
     self.timer = None
Exemplo n.º 7
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     #this module has to be limited to the channel due to the possibility of quoting admin logins etc.
     self.regexpattern = self.regexpattern.format(head.mainchannel.name)
     self.handleInput = self.handler
     self.importconf()
Exemplo n.º 8
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     self.storage["bot"] = self.head
     self.importconf()