Hubot> sora_h++
Hubot> sora_h increment!! (total : 1)
Hubot> hogelog++
Hubot> hogelog increment!! (total : 1)
Hubot> sora_h++
Hubot> sora_h increment!! (total : 2)
Hubot> yoshiori--
Hubot> yoshiori decrement!! (total : -1)
Hubot> hubot scorekeeper
Hubot> 1 : sora_h
Hubot> 2 : hogelog
Hubot> 3 : yoshiori
Add hubot-scorekeeper
to your package.json
dependencies.
"dependencies": {
"hubot-scorekeeper": ">= 0.0.7"
}
Run npm install
Add hubot-scorekeeper
to external-scripts.json
.
- {name}++ - Increment {name}'s point
- {name}-- - Decrement {name}'s point
- scorekeeper - Show scoreboard
- show scoreboard - Show scoreboard
- scorekeeper {name} - Show current point of {name}
- what's the score of {name} - Show current point of {name}
if you need ignore hipchat's mention.
export HUBOT_SCOREKEEPER_MENTION_PREFIX="@"
Hubot> @con_mame++
Hubot> con_mame increment!! (total : 1)
Hubot> con_mame++
Hubot> con_mame increment!! (total : 2)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request