hubot-time-me

1.1.0 • Public • Published

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 ⚡️

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.

/hubot-time-me/

    Package Sidebar

    Install

    npm i hubot-time-me

    Weekly Downloads

    8

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • parkr