SimpleBot implementation in Ruby