miao-plugin/index.js

35 lines
868 B
JavaScript
Raw Normal View History

2022-03-26 08:21:44 +00:00
export const rule = {
character: {
prehash: true,
2022-03-26 21:34:33 +00:00
reg: "^#(.*)(#.*)?$",
2022-03-26 08:21:44 +00:00
priority: 208,
describe: "【#刻晴】角色详情",
2022-03-26 21:34:33 +00:00
},
wife: {
reg: "^#(老婆|妻子|媳妇|娘子|女朋友|女友|女神|老公|丈夫|夫君|郎君|男朋友|男友|男神|女儿|儿子)(1|2)*$",
priority: 206,
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 08:21:44 +00:00
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"
}
2022-03-26 21:34:33 +00:00
};
2022-03-26 08:21:44 +00:00
import { character, setCharacterImg, wife } from "./apps/character.js";
import { userStat, rebuildCookie } from "./apps/admin.js";
2022-03-26 08:21:44 +00:00
export { character, setCharacterImg, userStat, rebuildCookie, wife };