         }
         do {
             try EventDispatcher.eventDispatcher(NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.AllowFragments) as! [String: AnyObject])
-            print(try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.AllowFragments))
         }
         catch _ {
             

    }
    
    public func websocketDidReceiveData(socket: WebSocket, data: NSData) {
        print("Data: \(data)")
    }
    
}

    
    // MARK: - WebSocketDelegate
    public func websocketDidConnect(socket: WebSocket) {
    }
    
    public func websocketDidDisconnect(socket: WebSocket, error: NSError?) {
        connected = false
        authenticated = false
        webSocket = nil
        if let delegate = slackEventsDelegate {
            delegate.clientDisconnected()
        }
