lita-google is a handler for Lita that searches Google and replies with the first link.
Add lita-google to your Lita instance's Gemfile:
gem "lita-google"
-
safe_search
(String, Symbol) - The safe search setting to use. Possible values are:active
,:moderate
, and:off
. Default::active
. -
excluded_domains
(Array) - Domains from which you never want to see results.
Lita.configure do |config|
config.handlers.google.safe_search = :off
config.handlers.google.excluded_domains = ["gawker.com", "funnyjunk.com", "dailymail.co.uk"]
end
You: Lita, google ruby
Lita: Ruby Programming Language - https://www.ruby-lang.org/