Group b strep antibiotics

I got test results saying that I have group b strep. I'm not concerned or anything. I didn't have it with my first pregnancy, but I do with this one. I have to have another c-section this time around though. Do they still give you the antibiotics before delivery if it's a planned c-section, or is it just for a vaginal delivery? I'll ask my doctor anyways at my next appointment, but I thought I'd ask here before then.