         err error
 
 
+
 module.exports = Pagerv2

          }
          # TODO - with user on call, res a relevant message

          res "ok"
        .catch (error) ->
          err error


  setOverride: (from, who, duration) ->
    return new Promise (res, err) =>
      if duration > 1440
        err 'Sorry you cannot set an override of more than 1 day.'
      else
        duration = parseInt duration
        @data = @robot.brain.data.pagerv2
        schedule_id = process.env.PAGERV2_SCHEDULE_ID
        overriders = process.env.PAGERV2_SCHEDULE_ID.split(',')
