【文件属性】:
文件名称:hubot-scorekeeper:赤裸的记分员
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-13 11:57:47
CoffeeScript
记分员-裸脚本Beta
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
安装
将hubot-scorekeeper添加到package.json依赖项。
" dependencies " : {
" hubot-scorekeep
【文件预览】:
hubot-scorekeeper-master
----.gitignore(13B)
----package.json(596B)
----LICENSE.md(1KB)
----scripts()
--------scorekeeper.coffee(3KB)
----README.md(1KB)
----index.coffee(223B)