Use Hubot to remind your team to do your standups.
In a chat room, you can ask Hubot to create a standup at a specific time. From then on, at that time every weekday, Hubot will post in the chat room reminding you to have your standup.
You can create as many standups as you like, across as many rooms as you like.
hubot standup help
- See a help document explaining how to use.
hubot create standup hh:mm
- Creates a standup at hh:mm every weekday for this room
hubot list standups
- See all standups for this room
hubot list standups in every room
- See all standups in every room
hubot delete hh:mm standup
- If you have a standup at hh:mm, deletes it
hubot delete all standups
- Deletes all standups for this room.
Currently, the time you specify must be the same timezone as the server Hubot resides on. You can check this with hubot time
.
Standup reminders are sent using robot.messageRoom
. Therefore, the room name needs to be saved correctly when a standup reminder is created. This was originally written for Hipchat, which retrieves the room from a message using msg.envelope.user.reply_to
. You might need to change this if you're using a different adapter. You can find that part of the code around line 170, inside the create standup
comand.
Run the following command to install this module as a Hubot dependency
npm install hubot-standup-alarm --save
Confirm that hubot-standup-alarm appears as a dependency in your Hubot package.json file.
"dependencies": {
"hubot": "2.x",
"hubot-scripts": "2.x",
"hubot-standup-alarm": "*"
}
To enable the script, add the hubot-standup-alarm entry to the external-scripts.json file (you may need to create this file).
["hubot-standup-alarm"]
Feel free! Send a pull request :)