Commit Graph

5 Commits

Author SHA1 Message Date
Marcel van der Boom
1cd7ce1a9f Improvements for the location plugin
- use an api_key if one is configured
- send the location by using the api
- provide same pin color as standard map
- send overview map based on the type of the location scale
- remove the temporary file after download
2014-12-19 16:31:25 +01:00
yago
e7038964d1 Google time location 2014-11-22 15:59:49 +01:00
yago
cbc55b0e09 renamed variable to google_api_key 2014-11-22 14:38:21 +01:00
Marcel van der Boom
edec3178d5 Simplify and use api_key from a config setting. 2014-11-22 11:59:34 +01:00
Marcel van der Boom
e19c3adac4 Inital version of !time command
Syntax: !time [area]

Uses the google geocoding api to turn an area specification into a
lat/long coordinate pair, which is then used to get a timezone record to
determine the local time.

Usecase: when working in international groups it's convenient to know if
your co-worker is likely to be awake or asleep.
2014-11-22 10:29:05 +01:00