Multi-messenger astronomy in the era of gravitational wave detections