corrected all console.log calls to bot.log