@responder(pattern="^members\s+(?P<name>\S+)", form="members <team>", help="List members of a team")
def members(conversation, name):
  if not Team.exists(name):
    conversation.say("No team named \"%s\" exists." % name)
  else:
    team = Team(name)
    if team.agents:
      members = ','.join(agent.jid for agent in team.agents)
      heading = "%s members:\n" % name
      conversation.say(heading + members, useHTML=False)
    else:
      conversation.say("That team has no members.")
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/responders/support.py/members/original