Skip to content

Cloudxtreme/hubot-standup-alarm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-standup-alarm

Use Hubot to remind your team to do your standups.

What does it do?

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.

Usage

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.

Caveats

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.

Installation via NPM

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": "0.0.1"
}

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"]

Contributing

Feel free! Send a pull request :)

About

Use Hubot to remind your team to do your standups

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • CoffeeScript 3.2%