There is no set time period for bans associated with the use of bots or third-party automation software. Each case is evaluated individually and the length of the ban will be based on a number of factors, including the severity of the offense and the history of the account.
Other related questions:
Does Blizzard ban Botting?
Yes, Blizzard does ban botting.
Is Botting Bannable in WoW?
Yes, botting is bannable in World of Warcraft.
How are WoW bots detected?
There is no surefire answer to this question, as Blizzard Entertainment, the company behind World of Warcraft, does not release details on how they detect bots. However, it is generally believed that they use a combination of methods, including analyzing game data and player behavior, to identify and ban players who are using bots.