Socket
Socket
Sign inDemoInstall

hubot-scripts-us-federal-holidays-reminder

Package Overview
Dependencies
22
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-scripts-us-federal-holidays-reminder

Post a reminder about upcoming US federal holidays


Version published
Weekly downloads
6
increased by200%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 02 Jan 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc