 # Description:
-#   Record and retrieve comments for retro 
+#   Record and retrieve comments for retro
 #
 # Commands:
 #   [good|bad|park]: <comment> - store a comment

handle_comment = (msg) ->
  type = msg.match[0]
  date = new Date()
  
  @robot.brain.data.retro ||= {}
  @robot.brain.data.retro[date.getFullYear()] ||= {}
  @robot.brain.data.retro[date.getFullYear()][date.getMonth()] ||= {}

    type: msg.match[1]
    message: msg.match[2]

  msg.send "Noted, #{msg.message.user.name}, I'll remember that for retro!"
