The fact is none of the bot devs know how Blizzard detects botting.
In theory there are two ways
1) Software detection: that means the bot program itself is detected, everyone who uses the bot will be banned. As far as I know DB counters this pretty well.
2) Behavior detection: this is what gets most of us, sometimes it's the behavior of players; sometimes the bots (not the same as software detection).
Behavior refers to things like botting 24/7, botting multiple accounts on the same computer, these are player's behaviors, but theoretically some of the bot's actions can get you banned as well (actions like self-buffing at perfect time and others).
If you do 10 hours/day you could still be banned due to bot behaviors.
The bottom line is nobody knows for sure. It seems it's very easy for Blizzard to find the 24/7 botters and ban them all, but apparently a lot of them are going strong. We just don't know what Blizzard does. Maybe they only ban us when they get enough complaints on the official forum. Maybe they ban us every few months like a ladder reset.
The best advice I can give you is never bot on an account you can't afford to lose.