From 52c507948994ac6c8640f009e703185ea7ae6a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8C=8C?= Date: Sat, 23 Sep 2023 19:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugins/loader.js | 2 +- package.json | 6 +++--- plugins/other/install.js | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/plugins/loader.js b/lib/plugins/loader.js index cad4763..ceeccac 100644 --- a/lib/plugins/loader.js +++ b/lib/plugins/loader.js @@ -216,7 +216,7 @@ class PluginsLoader { // 判断是否是星铁命令,若是星铁命令则标准化处理 // e.isSr = true,且命令标准化为 #星铁 开头 - if (this.srReg.test(e.msg) || /\/common\//.test(e.msg)) { + if (this.srReg.test(e.msg)) { e.isSr = true e.msg = e.msg.replace(this.srReg, "#星铁") } diff --git a/package.json b/package.json index 864e746..abdbda4 100644 --- a/package.json +++ b/package.json @@ -32,15 +32,15 @@ "node-xlsx": "^0.23.0", "oicq": "link:lib/modules/oicq", "pm2": "^5.3.0", - "puppeteer": "^21.3.1", - "redis": "^4.6.9", + "puppeteer": "^21.3.4", + "redis": "^4.6.10", "sequelize": "^6.33.0", "sqlite3": "^5.1.6", "ws": "^8.14.2", "yaml": "^2.3.2" }, "devDependencies": { - "eslint": "^8.49.0", + "eslint": "^8.50.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-n": "^16.1.0", diff --git a/plugins/other/install.js b/plugins/other/install.js index 32b09fb..d01dbf4 100644 --- a/plugins/other/install.js +++ b/plugins/other/install.js @@ -6,6 +6,7 @@ import { Restart } from "./restart.js" let insing = false const list = { "Atlas":"https://gitee.com/Nwflower/atlas", + "ws-plugin":"https://gitee.com/xiaoye12123/ws-plugin", "TRSS-Plugin" :"https://Yunzai.TRSS.me", "yenai-plugin" :"https://gitee.com/yeyang52/yenai-plugin", "flower-plugin" :"https://gitee.com/Nwflower/flower-plugin",