I don't know what they do specifically, but if you're not botting with your "main" acct, then its not going to get banned, unless you start selling gold from it, or storing / selling the botted goods from it for example.
ie: if your main acct is like your friend's acct who has no idea that you bot, then you should be safe