All you have to do is spam whisper them. Whatever program they use disconnects them after a certain number of whispers or in a certain time period. As you can see I have been spamming penises to well known alliance Aether Ray bot "Baconist" (he has been botting for about 3 months now). As soon as I spam him enough he disconnects for at least a half hour or an hour. The person running him has ignored one of my characters so I just swapped to another and disconnected him after a couple minutes of whisper spam. God speed gents.
Here's another Aether Ray bot named "Oxyymiron" who disconnects right after a couple spams, but then logs back in immediately, only to repeatedly dc and log in if you keep spamming whispers:
Ok. Time to create penis bots that constantly spam penises to farm bots.
We will use the "penis anti bot bots" to beat these chinese farmers once and for all!
Are you sure they're getting disconnected?
Today something weird happen. I was in a party with a Hunter (we were doing a rep run). I tried to whisper this hunter but instead I got a message from the client that "No player named '<Hunter Name here>' is currently Playing". I tried again and same thing happened. Then I simply talked to him in /p and he replied.
Yes I'm sure. The first bot Baconist takes probably a hundred whispers to finally get dc'd and he stays dc'd. The second one Oxyymiron only took a couple, and if you kept spamming him he literally just kept logging in and out over and over again.
Most bot programs for most games have something in them like this so that when GM's try to talk to them they log out so as to not get caught.