I am not a programmer, and i think you should know some program language first. This I can tell you:
To make a bot you can use Autoit.(there are many ways to make a bot I guess)
Here a link for Autoit:

But I can really recommend you to google some info first before you start