Turning on will automatically hold down click(making you mine)
This is not baritone(automatic mining/walking bot), for baritone you need to use the command .b, .b mine diamond_ore