Esempio n. 1
0
File: bot2.py Progetto: idler/botalo
 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)
Esempio n. 2
0
File: dpkbot.py Progetto: brr/dpkbot
 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':{}}