 
   #   hubot pd assign [all] to me       - assigns all open incidents to caller
   #   hubot pd assign [all] to <user>   - assigns all open incidents to user
-    robot.respond /pd assign(?: all) to (me|[^ ]+)\s*$/, (res) ->
+    robot.respond /pd assign(?: all) to (me|[^ ]+)\s*$/, 'pd_assign_all', (res) ->
       [ _, who ] = res.match
       if who is 'me'
         who = res.envelope.user.name

      res.finish()

  #   hubot pd oncall - returns who is on call
    robot.respond /(?:pd )?(?:who(?: is|'s) )?on ?call\s*$/, (res) ->
      pagerv2.getSchedule()
      .then (data) ->
        nowDate = moment().utc()

      res.finish()

  #   hubot pd ack <#>           - acknowledges incident <number>
    robot.respond /pd ack (.+)\s*$/, 'pd_ack_one', (res) ->
      [ _, incidents ] = res.match
      pagerv2.updateIncidents(res.envelope.user, incidents)
      .then (data) ->
