added client-server interactions in BotCommand.java