Update bot.rb

example of inlining return and if at end of statement