AFK farming is not hacking, and you should learn what these terms all mean before flinging any of them around.
Botting is using some means to repeatedly do things in place of yourself. Pressing buttons repeatedly, putting a popsicle stick weighted over some keys to press them consecutively. Anything that simulates a keypress that you yourself are not doing.
Hacking is modifying the game in some way to gain an unfair advantage, this requires a third party program to do realistically as doing it with just the game itself can’t be done.
AFK Farming as a bokor can be done strictly abusing a game mechanic (IF you wish to see it as abuse…), you don’t need a third party program, you don’t need to simulate any keypressed. You only need to have high enough damage, that’s the only requirement.