miao-plugin/index.js

53 lines
1.2 KiB
JavaScript
Raw Normal View History

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: "^#(老婆|妻子|媳妇|娘子|女朋友|女友|女神|老公|丈夫|夫君|郎君|男朋友|男友|男神|女儿|儿子)[ |0-9]*$",
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
import { character, wife } from "./apps/character.js";
import { userStat, rebuildCookie, userStatus, userCacheRebuild, mysUserCk } from "./apps/admin.js";
2022-03-26 08:21:44 +00:00
export { character, userStat, rebuildCookie, wife, userStatus, userCacheRebuild, mysUserCk };