2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00
This commit is contained in:
Ctrlcvs 2022-10-12 23:25:28 +08:00
parent 30b6a8b7aa
commit 25c1f8837b
2 changed files with 3 additions and 0 deletions

View File

@ -33,3 +33,5 @@ isYunSignMsg: false
yunDoc: docs.qq.com/doc/DTnJIREZwTmxEVHBl yunDoc: docs.qq.com/doc/DTnJIREZwTmxEVHBl
#更新抽卡记录缓存时间默认5分钟 #更新抽卡记录缓存时间默认5分钟
gclogEx: 5 gclogEx: 5
# 体力设置开启关闭权限 1-群管理员才能开启关闭 2-主人才能开启关闭
noteSetAuth: 1

View File

@ -32,6 +32,7 @@ export default class user {
this.e = e; this.e = e;
this.stokenPath = `./plugins/${plugin}/data/yaml/` this.stokenPath = `./plugins/${plugin}/data/yaml/`
this.yunPath = `./plugins/${plugin}/data/yunToken/`; this.yunPath = `./plugins/${plugin}/data/yunToken/`;
Data.createDir("",this.yunPath,false)
this.ForumData = Data.readJSON(`${_path}/plugins/xiaoyao-cvs-plugin/defSet/json`, "mys") 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 = gsCfg.getfileYaml(`${_path}/plugins/xiaoyao-cvs-plugin/config/`, "config");
this.configSign.signlist = this.configSign.signlist || "原神|崩坏3|崩坏2|未定事件簿".split("|") this.configSign.signlist = this.configSign.signlist || "原神|崩坏3|崩坏2|未定事件簿".split("|")