In most cases, getting caught botting will result in an non-disputable perm ban. Even on the off chance that it's only a temp, the account will still be compromised and the IP it was accessed from will be flagged.
With that being said, if use a good client like TRiBot with premium scripts (never free scripts), and bot for low hours inconsistently, you'll probably be fine. Playing it safe and reading up on the do's & don'ts will most definitely keep you under the radar.
Like with the breaking of all other game rules, your best route is to not get caught in the first place haha.