I would drink after pump then the next pump session (3hours) should be safe for consumption. But of course it depends on how much you drank. If you’re sober enough (not wasted), it should be alright cause by the time the content passes thru your body, the percentage in your bm is actually very very minimal.
Alternatively, you can pump and do milk bath for baby if you don’t feel safe enough to feed.