miao-plugin/index.js

55 lines
1.0 KiB
JavaScript
Raw Normal View History

import { character, wife, wifeReg } from "./apps/character.js";
2022-04-03 20:49:52 +00:00
import { userStat, userStatus, userCacheRebuild, mysUserCk } from "./apps/admin.js";
2022-04-03 20:49:52 +00:00
export { character, userStat, wife, userStatus, userCacheRebuild, mysUserCk };
2022-03-26 08:21:44 +00:00
export const rule = {
character: {
prehash: true,
reg: "^#(.*)?$",
priority: 203,
2022-03-26 08:21:44 +00:00
describe: "【#刻晴】角色详情",
2022-03-26 21:34:33 +00:00
},
wife: {
prehash: true,
reg: wifeReg,
priority: 203,
describe: "【#老婆,#老公,#女儿】角色详情",
},
/*
2022-03-26 21:34:33 +00:00
setCharacterImg: {
prehash: true,
2022-03-26 21:34:33 +00:00
reg: "^#(添加|更新)(.*)图片(#.*)?(上|右|下|左)?$",
priority: 208,
},
*/
2022-03-26 23:19:57 +00:00
userStat: {
prehash: true,
2022-03-26 23:19:57 +00:00
reg: "^#*user\s*\d*",
priority: 200
},
rebuildCookie: {
prehash: true,
2022-03-26 23:19:57 +00:00
reg: "#rebuild"
},
userStatus: {
prehash: true,
reg: "^#cc$",
priority: 200
},
userCacheRebuild: {
prehash: true,
reg: "^#dd$",
priority: 200
},
mysUserCk: {
prehash: true,
reg: "^#ck[0-9]+$",
priority: 200
2022-03-26 23:19:57 +00:00
}
2022-03-26 21:34:33 +00:00
};
2022-03-26 08:21:44 +00:00