Swap Bot constructor and connect arguments for correctness.