细节优化
This commit is contained in:
parent
252614eb50
commit
52c5079489
|
@ -216,7 +216,7 @@ class PluginsLoader {
|
||||||
|
|
||||||
// 判断是否是星铁命令,若是星铁命令则标准化处理
|
// 判断是否是星铁命令,若是星铁命令则标准化处理
|
||||||
// e.isSr = true,且命令标准化为 #星铁 开头
|
// e.isSr = true,且命令标准化为 #星铁 开头
|
||||||
if (this.srReg.test(e.msg) || /\/common\//.test(e.msg)) {
|
if (this.srReg.test(e.msg)) {
|
||||||
e.isSr = true
|
e.isSr = true
|
||||||
e.msg = e.msg.replace(this.srReg, "#星铁")
|
e.msg = e.msg.replace(this.srReg, "#星铁")
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,15 +32,15 @@
|
||||||
"node-xlsx": "^0.23.0",
|
"node-xlsx": "^0.23.0",
|
||||||
"oicq": "link:lib/modules/oicq",
|
"oicq": "link:lib/modules/oicq",
|
||||||
"pm2": "^5.3.0",
|
"pm2": "^5.3.0",
|
||||||
"puppeteer": "^21.3.1",
|
"puppeteer": "^21.3.4",
|
||||||
"redis": "^4.6.9",
|
"redis": "^4.6.10",
|
||||||
"sequelize": "^6.33.0",
|
"sequelize": "^6.33.0",
|
||||||
"sqlite3": "^5.1.6",
|
"sqlite3": "^5.1.6",
|
||||||
"ws": "^8.14.2",
|
"ws": "^8.14.2",
|
||||||
"yaml": "^2.3.2"
|
"yaml": "^2.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.49.0",
|
"eslint": "^8.50.0",
|
||||||
"eslint-config-standard": "^17.1.0",
|
"eslint-config-standard": "^17.1.0",
|
||||||
"eslint-plugin-import": "^2.28.1",
|
"eslint-plugin-import": "^2.28.1",
|
||||||
"eslint-plugin-n": "^16.1.0",
|
"eslint-plugin-n": "^16.1.0",
|
||||||
|
|
|
@ -6,6 +6,7 @@ import { Restart } from "./restart.js"
|
||||||
let insing = false
|
let insing = false
|
||||||
const list = {
|
const list = {
|
||||||
"Atlas":"https://gitee.com/Nwflower/atlas",
|
"Atlas":"https://gitee.com/Nwflower/atlas",
|
||||||
|
"ws-plugin":"https://gitee.com/xiaoye12123/ws-plugin",
|
||||||
"TRSS-Plugin" :"https://Yunzai.TRSS.me",
|
"TRSS-Plugin" :"https://Yunzai.TRSS.me",
|
||||||
"yenai-plugin" :"https://gitee.com/yeyang52/yenai-plugin",
|
"yenai-plugin" :"https://gitee.com/yeyang52/yenai-plugin",
|
||||||
"flower-plugin" :"https://gitee.com/Nwflower/flower-plugin",
|
"flower-plugin" :"https://gitee.com/Nwflower/flower-plugin",
|
||||||
|
|
Loading…
Reference in New Issue