Update acBot.ts

Move stuff around; remove some unused code