   robot.brain.on 'loaded', =>
     robot.brain.data.nicks ||= []
 
+  saluteWithRandomGif = (res) ->
+    msg = new hubot.TextMessage(res.message.user, robot.name + ' gif me hello')
+    robot.receive msg
+
   robot.enter (res) ->
     user = res.message.user
     robot.logger.debug "User enter #{user.name}"

# Author:
#   Francho


module.exports = (robot) ->
  welcomeMsg = (nick) ->

        return
      add_nicks user.name
      robot.messageRoom user.name, welcomeMsg(user.name)
      saluteWithRandomGif res
