Minor timeout code refactor

Refactor timeout code to use else'es.
Fix bug that caused bot chattiness

The bot didn't respect the total message limitation when sending
automessages.