Example #1
0
File: tikkle.py Project: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.tikklers = file2obj(self.filename)
     except Exception:
         self.tikklers = {}
Example #2
0
File: karma.py Project: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.karmadict = file2obj(self.filename)
     except IOError:
         self.karmadict = {}
Example #3
0
File: decide.py Project: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
Example #4
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     self.importconf()
Example #5
0
File: admin.py Project: zod/pyhkal
 def __init__(self,head,adminpass="******"):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     self.adminpass = adminpass
Example #6
0
File: stfu.py Project: 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
Example #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()
Example #8
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     self.storage["bot"] = self.head
     self.importconf()