Alcohol and yeast infections..?

So this past weekend i may or may not have parties too hard too many days, but I now have a yeast infection. My friend said its from the sugary drinks but I'm curious what you guys know