     if (awake(robot)) 
       msg.send "http://imagemacros.files.wordpress.com/2010/02/roger_american_dad_technical_problems.png"
 
-  robot.respond /stfu|shut up|mute|sleep/i, (msg) ->
+  robot.respond /stfu|shut up|mute|sleep|diaf/i, (msg) ->
     wake = moment().add(15, 'm')
     robot.brain.set 'sleepUntil', wake
     msg.send "Do you want me to sit in a corner and rust or just fall apart where I'm standing?"

# TODO ensure these are set
corp_id = process.env.HUBOT_CORP_ID
email = process.env.HUBOT_OPERATOR_EMAIL
version = "0.0.2"

#   depends on xml2json - so `npm install xml2json` already
#   depends on moment - so `npm install moment` already

parser = require('xml2json')
zlib = require('zlib')
moment = require('moment')
Util = require('util')

module.exports = (robot) ->
  robot.hear /^!(kills|losses) in ([0-9]+) ([a-zA-Z]+)/i, (msg) ->
    if !corp_id?
      msg.send "I can't do that. Someone forgot to tell me the corporation ID you care about."
      return
    
    msg.send "Give me a moment..."
    data = ""
    window = msg.match[2]
    unit = msg.match[3].toLowerCase()
    # TODO corp ID from brain by ticker
    from_time = moment().utc().subtract(window, unit).format("YYYYMMDDHHmmss")
    msg.http("https://beta.eve-kill.net/api/#{msg.match[1]}/corporationID/#{corp_id}/startTime/#{from_time}/")
      .headers('Accept': 'application/json', 'Accept-Encoding': 'gzip', 'User-Agent': "OscarRobo/#{version} [#{email}] (on Hubot/2.9.0)")
      .get( (err, req) ->
        req.addListener "response", (res)->
