Beispiel #1
0
  def __init__(self, roomJID, nick, rt_url, rt_user, rt_pwd, roomPassword, rt_display_url=None, output_format="extended"):
    BaseMUCBot.__init__(self, roomJID, nick, roomPassword)
    self.resource = RTResource(rt_url + 'REST/1.0/', rt_user, rt_pwd, CookieAuthenticator)
    self.rt_url = rt_url
    self.output_format = output_format

    if rt_display_url is None:
	self.rt_display_url = rt_url
    else:
	self.rt_display_url = rt_display_url