【文件属性】:
文件名称:lctv-bot-api-triggers-plugin:LCTV Bot的API触发器插件
文件大小:3KB
文件格式:ZIP
更新时间:2021-04-28 22:34:27
JavaScript
lctv机器人投票api触发
LCTV Bot的API触发器插件
设置
在插件的文件夹中创建一个settings.js文件。 使用以下结构:
module.exports = {
"triggers": [{
regex: /ohseemedia/,
status: 'moderator',
url: 'http://owenconti.com/api-triggers/trigger-test.php',
method: 'GET',
params: '?testare=fake'
}, {
regex: /tester/,
status: 'moderator',
url: 'http://owenconti.com/api-triggers/trigger-test.php',
method: 'GET',
params: functio
【文件预览】:
lctv-bot-api-triggers-plugin-master
----README.md(812B)
----.gitignore(539B)
----index.js(1KB)
----package.json(634B)