Update bot.rb

fix missing end