You were smart to leave when you did. You're also smart to pay attention to that healthy fear that maybe this isn't the time to be going to bars.
I'd beg off the graduation party. Tell your friend how proud you are of his/her accomplishment and that you are taking him/her out to lunch next week to celebrate it.