I feel like honesty is a good trait to have if you want to have friends.  Because honest people are liked more than dishonest people.  If you heard the story “The boy who cried wolf” then you know what I mean.   Another good thing is to be funny, everyone likes a funny person that can crack a few jokes.  Loyalty is crucial for friendship.  To be honest and loyal is very important if you want a friend that is loyal and honest to you.