Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-iwelt-remind-k

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-iwelt-remind-k

Friendly reminder script for Hubot

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Hubot Remind K

Hubot script to manage reminders in a relaxed friendly syntax.

Features

  • Both relative ("in 5 minutes") and absolute ("tomorrow 5 pm") time specification.
  • Relaxed syntax. It simply DWYM (Does what you mean) without expecting much grammar.
  • Uses friendly relative date in the confirmation message.
  • Recurrent reminders.
  • Listing and deleteing existing reminders.

Installation

Install the npm package

npm install hubot-remind-k --save

and add hubot-remind-her to external-scripts.json

[ "hubot-remind-k" ]

Note: This script will not work in conjuction with [remind.coffee][] and [hubot-remind-at][], so disable them if you are enabling this.

Remember to set your timezone correctly. For example, on heroku you need to run heroku config:set TZ="foo"

Usage

If it is prefixed with remind, and ends with to <something>, and has a date in between, it'll work.

> hubot remind me in every 10 minutes to have fun
> hubot remind me tomorrow 10 PM to eat
> hubot remind me at 18 Feb to be alive
> hubot remind me every Tuesday to watch pogo
> hubot list reminders
> hubot delete reminder 1

To get detailed help about the sort of time strings supported, see the [chrono][] homepage.

Tests

The first time around, you'll need to install the necessary development dependencies required to run the tests:

npm install

Subsequently, you can run the tests using:

npm test

History/Credits

This is a spiritual successor of the [remind.coffee][] and the [hubot-remind-at][] scripts, combining their functionality, making the command syntax more flexible, and the bot's responses more friendly. All thanks to the awesomeness of [chrono][] and [moment.js][].

Bugs

  • Reminders longer that 24 days in the future are immediately triggered ([Reference][long-settimeout]).

[remind.coffee]: https://github.com/github/hubot-scripts/blob/master/src/scripts/remind.coffee) [hubot-remind-at]: https://github.com/soh335/hubot-remind-at.git [chrono]: http://wanasit.github.io/pages/chrono/ [long-settimeout]: http://stackoverflow.com/questions/12351521/can-settimeout-be-too-long [moment.js]: http://momentjs.com/

Keywords

FAQs

Package last updated on 19 Apr 2017

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