🌴 a Hubot script to set a custom away or out of office message so your coworkers know that you're not available.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
LICENSE
README.md
index.coffee
package-lock.json
package.json

README.md

Hubot Custom Out of Office

An Hubot script to set a custom away or out of office message so your coworkers know that you're not available.

How It Works

Whenever someone @mentions you in chat, hubot will respond with your out of office message if set.

The following commands are available to manage your out of office message:

  • hubot enable ooo - set an out of office auto reply
  • hubot enable ooo <your message> - set an out of office auto reply with a custom message
  • hubot check ooo - check if you have an out of office message enabled
  • hubot disable ooo - turn off out of office auto reply

Installation

  1. Add hubot-custom-outofoffice to hubot's package.json file.
  2. Add hubot-custom-outofoffice to hubot's external-scripts.json file.
  3. Run npm install.
  4. Restart hubot.

Example

adam: @hubot enable ooo I'm out of the office. I'll return on Monday 10/1.

hubot: out of office enabled with message "I'm out of the office. I'll return on Monday 10/1."

judy: @adam do want to grab a coffee with me?

hubot: @waffletron9000 is out of office "I'm out of the office. I'll return on Monday 10/1."

Contributing

If you have suggestions for how Top Issue Bot could be improved, or want to report a bug, open an issue! Or Pull Request! We'd love all and any contributions.

This package is published on NPM at https://www.npmjs.com/package/hubot-custom-outofoffice.

Setting Up Locally

  1. Setup a local hubot for testing.
  2. Add hubot-custom-outofoffice to hubot's package.json file.
  3. Add hubot-custom-outofoffice to hubot's external-scripts.json file.
  4. Run npm install.
  5. Start hubot using bin\hubot.

Testing Locally

  1. Write and save tests.
  2. Run npm install.
  3. Run npm test.

Publishing to NPM

  1. Make changes.
  2. Write tests.
  3. Confirm tests are passing.
  4. Test with hubot.
  5. Update version in package.json or run npm version patch.
  6. Run npm publish.

License

ISC © 2018 TopIssueBot adam@tinkurlab.com (www.tinkurlab.com)