Breast feeding but drinking alcohol?

I heard that you shouldn’t breast feed and drink alcohol... and which I wouldn’t. I would probably pump beforehand just so if I’m out with some friends my baby will still have some milk. But how long do you ladies usually wait to you feed your baby after drinking?