细节优化

This commit is contained in:
🌌 2023-09-23 19:19:46 +08:00
parent 252614eb50
commit 52c5079489
3 changed files with 5 additions and 4 deletions

View File

@ -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, "#星铁")
}

View File

@ -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",

View File

@ -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",