lib/chatterbot/safelist.rb
def on_safelist?(s)
      search = from_user(s).downcase
      safelist.any? { |b| search.include?(b.downcase) }
    end
def on_safelist?(s)
      search = from_user(s).downcase
      safelist.any? { |b| search.include?(b.downcase) }
    end
def on_safelist? ( s ) search = from_user ( s ) . downcase safelist . any? { | b | search . include? ( b . downcase ) } end
Is this tweet from a user on our safelist?
Is this tweet from a user on our safelist?