He's attached to, but not friends with Batman. He may see Batman as one of his few peers, but that's it. I liken it to the theory that if the Joker were sprayed with Scarecrow's fear toxin, he'd only see a world without Batman. Batman is Joker's best friend, but not vice versa.