From what research I've done on this site and Google, Blizzard doesn't have a bot detection system. I'm 90% sure that bans happen by first being reported by another player. Once a player reports you, it's only then that Blizzard investigates your account.