Socket
Socket
Sign inDemoInstall

hubot-time-me

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-time-me

Ask hubot location-based question about users, such as their local time.


Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 08 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc