       payload =
         message: res.message
         attachments: [dataHelper.parseActivityDetails(activityDetails)]
+
+      console.log 'Emitting payload:'
+      console.log payload
 
       robot.emit('slack-attachment', payload)
 

    message: res.message
    attachments: attachment

  robot.emit 'slack-attachment', payload

checkNetwork = (network) ->


# Sends error message as DM in slack
sendError = (robot, res, message) ->
  console.log 'Sending error message:'
  console.log message
  robot.send {room: res.message.user.name, "unfurl_media": false}, message

tryPlayerId = (res, membershipType, displayName, robot) ->
