 #
 # Commands:
 #   hubot espn headline - Displays a random headline from ESPN.com
-#   hubot espn mlb <name of team> - Displays ESPN.com team homepage
+#   hubot espn mlb <name of team> - Displays ESPN.com MLB team homepage
+#   hubot espn nfl <name of team> - Displays ESPN.com NFL team homepage
+#   hubot espn nba <name of team> - Displays ESPN.com NBA team homepage
+#   hubot espn nhl <name of team> - Displays ESPN.com NHL team homepage
 #
 # Author:
 #   mjw56


          if team is input || city is input
            msg.send 'Team news for the '+ child.location + ' ' + child.name + '- ' + child.links.web.teams.href

        rnd = Math.floor(Math.random()*urls.length)
        msg.send urls[rnd]

  robot.respond /(espn)( mlb) (.*)/i, (msg) ->
    msg.http('http://api.espn.com/v1/sports/baseball/mlb/teams?apikey=' + espnApiKey)
      .get() (err, res, body) ->
        result = JSON.parse(body)	
