     else
       msg.send "OpenDNS API key not configured."
 
-module.exports = (robot) ->
   robot.respond /opendns rr (.*)/i, (msg) ->
 
     if OPENDNS_KEY?

              msg.send response
            else
              msg.send "OpenDNS doesn't know about #{artifact}."
        else
          msg.send "Doh! #{res.statusCode}: Which means that didn't work."
    else
      msg.send "OpenDNS API key not configured."

    else
      msg.send "OpenDNS API key not configured."

  robot.respond /opendns secinfo (.*)/i, (msg) ->

    if OPENDNS_KEY?
