Gordon Shumway 6e47278b9f
Google: Set User-Agent override. (#1426)
With a custom (globally-configured) user-agent, Google may serve a different page, which breaks this plugin.

This override disables this custom user-agent and uses a predefined one, which is known to work.
2020-07-14 14:44:43 +02:00
..
2020-03-26 22:10:28 +01:00
2020-01-26 12:00:08 +01:00
2014-12-20 14:37:27 +01:00
2020-07-01 10:37:22 +02:00
2016-02-09 20:09:35 +02:00

This is a simple plugin to provide access to the Google services we all know
and love from our favorite IRC bot.

Commands: cache, calc, fight, google, lucky, phonebook, and translate

Basic usage
-----------

1. google
 
 Searches for a string and gives you 3 results from Google search
 >!google something
 
2. lucky
 
 Return the first result (Google's "I'm Feeling Lucky" search)
 >!lucky something

3. calc
 
 Does mathematic calculations
 >!calc 5+4

4. translate

 Translates a string
 >!translate en ar test
 
Check: [Supported language codes](https://cloud.google.com/translate/v2/using_rest#language-params)