Integrated  bot

This bot can do offense and defense, but the integration, as well as its
main functions, could use some work.