             res.reply "You have not linked your Twitch account yet."
 
     robot.respond /ttv link (.+)/i, id: "twitch.link", (res) ->
-        user = res.message.user.id.toLowerCase()
+        user = res.message.user.id.toString().toLowerCase()
         twitchUser = res.match[1]
 
         GetTwitchResult res, "/users/#{twitchUser}", null, (object) ->

        robot.brain.data[TWITCH_STORAGE_KEY] or= {}

    robot.respond /ttv follows/i, id: "twitch.follows", (res) ->
        user = res.message.user.id.toLowerCase()
        if twitchUser = GetTTVData()[user]
            GetTwitchResult res, "/users/#{twitchUser}/follows/channels", { limit: 10, sortby: "last_broadcast" }, (followsObj) ->
                if followsObj._total is 0 or followsObj.status is 404

                res.reply "An error occurred while attempting to process your request."
                return res.robot.logger.error "hubot-twitch: #{err}"

            handler JSON.parse(body)
