I think I am a horrible person.
Is there anything in particular that happened? Why do you think you're a horrible person?
I could be such a better friend to my friends and I am so bad at this.
It's wrong to be bad to your friends. But you can recognize you need to change and do it.
How the fuck can I change? I'm so perfect that I am a total robot.
If you think you are a horrible person, then that means that you're not perfect so I think I still recommend you to change so that you don't feel that way anymore about yourself and you and your friends will be happier as you will now be a better friend for them and you will not think of yourself as horrible anymore.