Refactor bot.rb

* Get rid of too many if's, else's and unless's
Merge pull request #2 from romulomachado/master

Refactor bot.rb (thanks romulomachado)