                 history params, 'profile URL'
 
     robot.respond /dota match (\d+)\s*(.*)?/i, (msg) ->
-        steam_request msg, "/IDOTA2Match_570/GetMatchDetails", match_id: msg.match[1], (object) ->
+        steamRequest msg, "/IDOTA2Match_570/GetMatchDetails", match_id: msg.match[1], (object) ->
             match = object.result
             start = moment.unix(match.start_time).fromNow()
             duration = moment.duration(match.duration, 'seconds').minutes()


    robot.respond /steam status (.*)/i, (msg) ->
        summary = (steamID) ->
            steam_request msg, "/ISteamUser/GetPlayerSummaries", steamids: steamID, (object) ->
                player = object.response.players[0]
                status = if player.communityvisibilitystate is 1 then 'Unavailable (Private)' else personaStates[player.personastate]
                lastOnline = moment.unix(player.lastlogoff).fromNow()

            matches_requested: 5

        history = (params, type = 'Steam ID') ->
            steamRequest msg, "/IDOTA2Match_570/GetMatchHistory", params, (object) ->
                if object.result.status is 15
                    msg.reply "The #{type} you have entered (\"#{params.original}\") does not exist or it does not have match history enabled."
                    return
