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