2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

默认key value问题

This commit is contained in:
leiyilu 2022-06-29 12:13:26 +08:00
parent ea6a612559
commit 0402e5b1d7

View File

@ -85,12 +85,12 @@ export async function sysCfg(e, {
// return true; // return true;
let cfg = { let cfg = {
help: getStatus("sys.help", false), help: getStatus("sys.help", false),
Note: getStatus("sys.Note"), Note: getStatus("sys.Note",false),
Atlas: getStatus("sys.Atlas"), Atlas: getStatus("sys.Atlas",false),
len:Cfg.get("mb.len", 0), len:Cfg.get("mb.len", 0),
imgPlus: fs.existsSync(plusPath), imgPlus: fs.existsSync(plusPath),
bg: await rodom(), //获取底图 bg: await rodom(), //获取底图
Atlasall:getStatus("Atlas.all"), Atlasall:getStatus("Atlas.all",false),
} }
console.log(cfg) console.log(cfg)
//渲染图像 //渲染图像
@ -116,7 +116,7 @@ const rodom = async function() {
const checkAuth = async function(e) { const checkAuth = async function(e) {
return await e.checkAuth({ return await e.checkAuth({
auth: "master", auth: "master",
replyMsg: `只有主人才能命令喵喵哦~ replyMsg: `只有主人才能命令哦~
(*/ω*)` (*/ω*)`
}); });
} }