hubot-time-me
Ask hubot location-based question about users, such as their local time.
Last updated 4 years ago by parkr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-time-me 
SYNC missed versions from official npm registry.

Hubot: hubot-time-me

Location-aware queries about users for hubot.

Where is parkr? What time is it at parkr's location? Hey Hubot, parkr's now in a new location.

See src/time-me.coffee for full documentation.

Installation

Add hubot-time-me to your package.json file:

npm install --save hubot-time-me

Add hubot-time-me to your external-scripts.json:

["hubot-time-me"]

Run npm install

Go to https://timezonedb.com and register for an account. You should receive an API key that you can then tell Hubot about. Just set the environment variable HUBOT_TIMEZONEDB_API_KEY to the API key provided :zap:

Sample Interaction

user1>> hubot parkr is in Ithaca, NY
hubot>> Ok, updated parkr's location to 'Ithaca, NY'
user1>> hubot where is parkr
hubot>> parkr is in Ithaca, NY.
user1>> hubot time me parkr
hubot>> It's currently Thursday, March 13 at 18:39 PM. in Ithaca, NY.

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

2 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |