diff --git a/defSet/config/config.yaml b/defSet/config/config.yaml index 0216782..250dd97 100644 --- a/defSet/config/config.yaml +++ b/defSet/config/config.yaml @@ -33,3 +33,5 @@ isYunSignMsg: false yunDoc: docs.qq.com/doc/DTnJIREZwTmxEVHBl #更新抽卡记录缓存时间默认5分钟 gclogEx: 5 +# 体力设置开启关闭权限 1-群管理员才能开启关闭 2-主人才能开启关闭 +noteSetAuth: 1 diff --git a/model/user.js b/model/user.js index 9552427..5800459 100644 --- a/model/user.js +++ b/model/user.js @@ -32,6 +32,7 @@ export default class user { this.e = e; this.stokenPath = `./plugins/${plugin}/data/yaml/` this.yunPath = `./plugins/${plugin}/data/yunToken/`; + Data.createDir("",this.yunPath,false) this.ForumData = Data.readJSON(`${_path}/plugins/xiaoyao-cvs-plugin/defSet/json`, "mys") this.configSign = gsCfg.getfileYaml(`${_path}/plugins/xiaoyao-cvs-plugin/config/`, "config"); this.configSign.signlist = this.configSign.signlist || "原神|崩坏3|崩坏2|未定事件簿".split("|")