Exemple #1
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.tikklers = file2obj(self.filename)
     except Exception:
         self.tikklers = {}
Exemple #2
0
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.karmadict = file2obj(self.filename)
     except IOError:
         self.karmadict = {}
Exemple #3
0
 def importconf(self):
     try:
         (self.tikklers) = file2obj(self.configfilename)
     except IOError:
         self.tikklers = {}
Exemple #4
0
 def importconf(self):
     try:
         (self.quotedict) = file2obj(self.configfilename)
     except IOError:
         self.quotedict = {}
Exemple #5
0
 def importconf(self):
     try:
         (self.factoids) = file2obj(self.configfilename)
     except IOError:
         self.factoids = []
Exemple #6
0
 def importconf(self):
     try:
         (self.adminpass) = file2obj(self.configfilename)
     except IOError:
         self.adminpass = "******"