def __init__(self,head): IRCBotMod.__init__(self,head) self.handleInput = self.handler try: self.tikklers = file2obj(self.filename) except Exception: self.tikklers = {}
def __init__(self,head): IRCBotMod.__init__(self,head) self.handleInput = self.handler try: self.karmadict = file2obj(self.filename) except IOError: self.karmadict = {}
def importconf(self): try: (self.tikklers) = file2obj(self.configfilename) except IOError: self.tikklers = {}
def importconf(self): try: (self.quotedict) = file2obj(self.configfilename) except IOError: self.quotedict = {}
def importconf(self): try: (self.factoids) = file2obj(self.configfilename) except IOError: self.factoids = []
def importconf(self): try: (self.adminpass) = file2obj(self.configfilename) except IOError: self.adminpass = "******"