updated bot and changed code to reflect new design