Valentin Lorentz 2924845de4 Google: Update, with a proper HTML parser.
Hopefully it will be more robust than the regexp.
2020-05-24 18:57:27 +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
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)