code: def run!
        before_run
  
        HANDLER_CALLS.each { |c|
          if (h = @handlers[c])
            send(c, *(h.opts)) do |obj|
              h.call(obj)
            end
          end
        }
  
        after_run
      end
docs: run the bot with the REST API