2.1.1 • Published 4 years ago

hubot-scripts-us-federal-holidays-reminder v2.1.1

Weekly downloads
5
License
CC0-1.0
Repository
github
Last release
4 years ago

hubot-scripts-us-federal-holidays-reminder

Hubot script that posts reminders about upcoming federal holidays. It will post on the weekday preceding a holiday.

Installation

In Hubot project directory, run:

npm install hubot-scripts-us-federal-holidays-reminder --save

Then add the script to your external-scripts.json:

[
  "hubot-scripts-us-federal-holidays-reminder"
]

Configuration

The script understands three environment variables:

variabledefaultpurpose
HUBOT_HOLIDAY_REMINDER_TIME15:00What time each day to check if a reminder is necessary and post if it is. This is in 24-hour format.
HUBOT_HOLIDAY_REMINDER_TIMEZONEAmerica/New_YorkThe timezone the bot should use when considering whether or not it's time to post a reminder. You can find a list of valid timezone identifiers on Wikipedia.
HUBOT_HOLIDAY_REMINDER_CHANNELgeneralThe name of the channel reminders should be posted to.
HUBOT_HOLIDAY_REMINDER_SUPPRESS_HEREfalseIf set to 'true', 'yes', or a positive nonzero number, the bot will not precede the message with @here

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

2.1.1

4 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago