I agree if this is a recent development that that's probably the case but if this is an on-going thing or there is a chemical imbalance it's not a matter of just willing yourself to be happy, though I'm sure that helps.
I do think you should go out with your friends though. Worst case scenario...