corrected bot.rb