 #   * Sends welcome as private message
 #   * Based on welcome.coffee by Bob Silverberg <bob.silverberg@gmail.com>
 #
+# Commands:
+#   hubot la bienvenida
+
 # Author:
 #   Francho
 

      robot.messageRoom '#presentaciones', "Hola @#{user.name}"
      welcomeGif(user, 'presentaciones')

  robot.respond /bienvenida/i, (msg) ->
    msg.reply welcomeMsg(msg.user.name)

        robot.brain.data.nicks.push nick
        robot.logger.debug "Added nick: #{nick}"

  welcomeGif = (user, room) ->
    msg = new hubot.TextMessage(user, robot.name + ' gif me hello')
    msg.room = room
    robot.receive msg

  robot.brain.on 'loaded', =>
    robot.brain.data.nicks ||= []

  robot.enter (res) ->
    user = res.message.user
