lib/chatterbot/client.rb
def reset_since_id
      config[:since_id] = 1
      # do a search of recent tweets with the letter 'a' in them to
      # get a rough max tweet id
      result = client.search("a", since:Time.now - 10).max_by(&:id)
      update_since_id(result)
    end
def reset_since_id
      config[:since_id] = 1
      # do a search of recent tweets with the letter 'a' in them to
      # get a rough max tweet id
      result = client.search("a", since:Time.now - 10).max_by(&:id)
      update_since_id(result)
    end
def reset_since_id config [ :since_id ] = 1 # do a search of recent tweets with the letter 'a' in them to # get a rough max tweet id result = client . search ( "a" , since : Time . now - 10 ) . max_by ( :id ) update_since_id ( result ) end
reset the since_id for this bot to the highest since_id we can
 get, by running a really open search and updating config with
 the max_id
reset the since_id for this bot to the highest since_id we can get by running a really open search and updating config with the max_id