         else
           msg.send "An error occurred looking up #{client}'s history (#{res.statusCode}: #{body})"
 
-
-  robot.respond /sensu client (.*)/i, (msg) ->
+  robot.respond /sensu client (?:http\:\/\/)?(.*)/i, (msg) ->
     validateVars
     client = msg.match[1]
 

          msg.send message
        msg.send output.sort().join('\n')

  robot.respond /(?:sensu)? resolve event (.*)(?:\/)(.*)/i, (msg) ->
    validateVars
    client = msg.match[1]


#######################
#### Event methods ####
#######################
  robot.respond /sensu events(?: for (?:http\:\/\/)?(.*))?/i, (msg) ->
    validateVars
    if msg.match[1]
      client = '/' + msg.match[1]
