added doc comments to Bot.java