         when 'member_join'
           content.text = data.user.screen_name
 
-      sendAsSlackAttachment(content)
+      robot.emit 'esa.slack.attachment', (content)
 
     robot.on 'esa.hear.stats', (res, stats) ->
       content = buildContent 'The stats of esa'

      content.text = comment.body_md
      content.author_name = comment.created_by.screen_name
      content.author_icon = comment.created_by.icon
      sendAsSlackAttachment(content, res.envelope.room)

        fallback: ''
        thumb_url: 'https://img.esa.io/uploads/production/pictures/105/6161/image/425c3b1e777d356c34973e818543420e.gif'

    robot.on 'esa.slack.attachment', (content, channel) ->
      channel ?= options.default_room
      robot.emit 'esa.debug', "emit slack.attachment with\n#{content}"

