Refactor bot.rb

* Get rid of too many if's, else's and unless's