Implementation of a bot program.