  Here is the Python code for the StarCraft II bot you described:
```
from sc2 import BotAI, BotProcess, EmptyBot, TestBot, ExporterBot
from sc2.constants import *
from sc2.ids.ability_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.upgrade_id import *
from sc2.ids.buff_id import *
from sc2.ids.tech_typeid import *
from sc2.ids.effect_id import *
from sc2.ids.upgrade_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_typeid import *
from sc2.ids.ability_id import *
from sc2.ids.buff_id import *
from sc2.ids.unit_type