This question was answered hundreds of times already but -puh- ok here again.
Atm. Blizzard bans only the account which was detected botting.
So if you have WoW A and WoW B on one BNet Account and WoW B was botting and will get banned, WoW A is still there.
!!! BUT !!!!
This can change at any time if Blizz decides this. They can ban you in fact for nothing but for the sun is shining outside if they want.
So if you are frightend to loose your account, DO NOT BOT AT ALL or seperate your botting account from your main account. Do not trade, chat or play together.
If you botted on one account and move a char from this account to another you bring this other account into danger.
Blizz can see this and there is no guarantee that they do not change their mind someday and also then ban WoW A.
You joined this forum 08.09.2014 you should know. Not a week where this question is not asked. Btw. it's also answered in the WIKI!