【文件属性】:
文件名称:hubot-troll:用 Hubot 欺骗你的朋友的好方法
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-12 17:16:30
no-longer-maintained CoffeeScript
hubot-troll
一个hubot脚本,可以在指定频道中说出你想要的任何内容作为你的hubot。
有关完整文档,请参阅 。
安装
在您的hubot项目回购中运行:
npm install hubot-troll --save
然后将hubot-troll添加到您的external-scripts.json文件中:
[
"hubot-troll"
]
示例交互
#user1 types in a secret room:
user1> hubot troll general with I objectively feel that user1 makes a better point than user2.
#in the general channel, user2 receives:
hubot> I objectively feel that user1 make
【文件预览】:
hubot-troll-master
----.gitignore(13B)
----package.json(666B)
----src()
--------troll.coffee(498B)
----.travis.yml(79B)
----LICENSE(1KB)
----README.md(612B)
----index.coffee(393B)
----script()
--------bootstrap(337B)
--------test(103B)
----test()
--------troll_test.coffee(444B)