I've been in the same situation many times

my suggestion is to let it cool off for a couple of days to a week, and then when the timing is right to explain how you feel

lay it out gently

if the friendship is strong enough then it will be fine

my best friend used to be in love with me and she was lesbian, and well one drunken endeavor almost destroyed a 10 year friendship, but then I just explained myself in a calm manner and all was forgiven and its like nothing ever happened