def __init__(self, username, password, res=None, debug=False): self.start_time = time.localtime() self.msg = EventThread(self) self.msg.start() JabberBot.__init__(self, username, password, res, debug)
def __init__(self, jid, passwd, res = None): """Initializes the jabber bot and sets up commands.""" #super(jid, password, res=res) JabberBot.__init__(self,jid,passwd,res= res) self.comid={'ping':{},'version':{}}