hubot-custom-outofoffice
v0.1.1
Published
An out of office script for Hubot.
Downloads
3
Readme
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 replyhubot enable ooo <your message>
- set an out of office auto reply with a custom messagehubot check ooo
- check if you have an out of office message enabledhubot disable ooo
- turn off out of office auto reply
Installation
- Add
hubot-custom-outofoffice
to hubot'spackage.json
file. - Add
hubot-custom-outofoffice
to hubot'sexternal-scripts.json
file. - Run
npm install
. - 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
- Setup a local hubot for testing.
- Add
hubot-custom-outofoffice
to hubot'spackage.json
file. - Add
hubot-custom-outofoffice
to hubot'sexternal-scripts.json
file. - Run
npm install
. - Start hubot using
bin\hubot
.
Testing Locally
- Write and save tests.
- Run
npm install
. - Run
npm test
.
Publishing to NPM
- Make changes.
- Write tests.
- Confirm tests are passing.
- Test with hubot.
- Update version in
package.json
or runnpm version patch
. - Run
npm publish
.
License
ISC © 2018 TopIssueBot [email protected] (www.tinkurlab.com)