Anyone get antibiotics during labor, how did it effect baby?

I've read it interferes with their good bacteria in their gut and can cause a colicky baby. Jw if anyone experienced this?