What about using a boolean value, like "clicked"? You toggle it everytime a click is triggert and only trigger another one if its true.
So you click –> its true, the bot clicks –> its false and wont click again until you click again?