Added bot code.