hubot-rotation
hubot-rotation is a hubot script, that makes it easier for your team to rotate some roles such as facilitator of morning meeting.
Requirement
- hubot-redis-brain hubot-rotation uses hubot-redis-brain to store data
Install
Rocket.Chat
See docker-compose example
Usage
- Show current status
rotate show
- Add users
rotate add user1 user2 user3
- Delete an user (You cannot delete multiple users at the same time)
rotate delete hitochan
- Move the facilitator to the next user
rotate next
- Timezone (Default: +09:00)
To set timezone (In +/-HH:mm format from -12:00 to +14:00. I don't know why +14:00 but it was written so in wikipedia)
rotate config timezone +02:00
To show currently used timezone
rotate config timezone
Development
Feel free to submit Pull Requests to improve hubot-rotation together!
First fork this repository, and then run yarn
to install dependencies.
You can use the following commands during the development.
Note that PRs are accepted only if all the tests pass and the code is formatted with yarn format
.
# Build
yarn build
# Test
yarn test
# Formatting
yarn format
LICENSE
MIT