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