Refactor bot state into $bot object.
Enabling client bots
Parse output lines
Refactor