I was botting fine for weeks, nothing happened. I was always babysitting, doing manual pauses, talking and being social questing in between... and then I wanted to use a shop-buying script. It was buggy and threw an error. In less than 24 hours I was banned, allegedly from a botting client. I think the error was nullPointerException but I'm not 100%.
I've read about this before. When bot clients throw java errors, it ends up as a ban very quickly.