some changes for the bot api