i'm gonna step away from the trend of "it's your fault, dumbass" replies and try a different approach. number one, this shit happens. sounds like your ass is all hopped up over the shit so, two... just chill man. three, count your lucky stars you and your friend are even able to recount what happened and talk about it. you could have just as easily been killed in a situation like that. fourth and last, LEARN from this shit here. this experience should hopefully be some brakes in the fastlane of partying should you need 'em. don't be afraid to use the mothafuckas.
personally, if i was in that situation, i'd say fuck it. what happened happened. if any more aftermath occured from this (as in the guy your friend sliced wanted retailiation), i'd deal with it. i can't say what is the right way to do that, but we're all responsible for our own actions. so i'd just own up to it, for better or worst.
the good news is, in a couple of months or years, you'll sit back and laugh at this shit. i'm serious, you actually will.