James Lu 30ba4bbe22 Google: mention the format of language codes
This might reduce confusion when people do things like "!google translate english to french hello", which produces no result.
2016-07-15 11:48:26 -07:00
..
2015-08-11 16:50:23 +02:00
2014-12-20 14:37:27 +01:00
2016-02-09 20:09:35 +02:00
2016-05-05 09:01:51 +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)