 
   # Remove specific standups for a room
   clearSpecificStandupForRoom = (room, time, msg) ->
+    if !timeIsValid time
+      msg.send "Sorry, but I couldn't spot a time in your command."
+      return
+
     standups = getStandups()
     standupsToKeep = _.reject(standups,
       room: room

    PREPEND_MESSAGE += ' '

  # Check for standups that need to be fired, once a minute
  # Defaults to Monday to Friday.
  WEEKDAYS_CRON = process.env.HUBOT_STANDUP_WEEKDAYS or '1-5'
  new cronJob('1 * * * * '+ WEEKDAYS_CRON, checkStandups, null, true)

  # Global regex should match all possible options
  robot.respond /(.*)standups? ?(?:([A-z]*)\s?\@\s?)?((?:[01]?[0-9]|2[0-4]):[0-5]?[0-9])?(?: UTC([- +]\d\d?))?(.*)/i, (msg) ->

      room = msg.envelope.user.reply_to
    room

  # Confirm a time is in the valid 00:00 format
  timeIsValid = (time) ->
    validateTimePattern = /([01]?[0-9]|2[0-4]):[0-5]?[0-9]/
    return validateTimePattern.test time

  # Stores a standup in the brain.
  saveStandup = (room, dayOfWeek, time, utcOffset, location, msg) ->
    if !timeIsValid time
      msg.send "Sorry, but I couldn't find a time to create the standup at."
      return

    standups = getStandups()
    newStandup =
      room: room
