2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

补充3.6角色图鉴

This commit is contained in:
Ctrlcvs 2023-03-26 20:12:43 +08:00
parent 37c1546dbc
commit eab7d3db1d
2 changed files with 26 additions and 2 deletions

View File

@ -201,6 +201,7 @@ export default class user {
async cloudSign() { async cloudSign() {
await this.cloudSeach() await this.cloudSeach()
let res = await this.getData("cloudReward") let res = await this.getData("cloudReward")
Bot.logger.mark(`\n云原神签到用户:${this.e.user_id}:[接口返回]${res.message}\n`)
if (res?.data?.list?.length == 0 || !res?.data?.list) { if (res?.data?.list?.length == 0 || !res?.data?.list) {
res.message = `您今天的奖励已经领取了~` res.message = `您今天的奖励已经领取了~`
} else { } else {
@ -467,6 +468,7 @@ export default class user {
let mul = e; let mul = e;
Bot.logger.mark(`云原神签到任务开始`); Bot.logger.mark(`云原神签到任务开始`);
let files = fs.readdirSync(this.yunPath).filter(file => file.endsWith('.yaml')) let files = fs.readdirSync(this.yunPath).filter(file => file.endsWith('.yaml'))
if(files.length==0) return;
let isCloudSignMsg = this.configSign.isCloudSignMsg let isCloudSignMsg = this.configSign.isCloudSignMsg
let userIdList = (files.join(",").replace(/.yaml/g, "").split(",")) let userIdList = (files.join(",").replace(/.yaml/g, "").split(","))
if (cloudTask) { if (cloudTask) {
@ -507,8 +509,8 @@ export default class user {
utils.relpyPrivate(qq, msg + "\n云原神自动签到成功"); utils.relpyPrivate(qq, msg + "\n云原神自动签到成功");
} }
}; };
this.getyunToken(e)
this.e = e this.e = e
await this.getyunToken(e)
let res = await this.cloudSign(); let res = await this.cloudSign();
this.e.reply(res.message) this.e.reply(res.message)
await utils.sleepAsync(10000); await utils.sleepAsync(10000);

View File

@ -51,6 +51,7 @@
- "#凯亚图鉴" - "#凯亚图鉴"
- "#诺艾尔图鉴" - "#诺艾尔图鉴"
- "#砂糖图鉴" - "#砂糖图鉴"
- "#米卡图鉴"
璃月角色图鉴|璃月人物图鉴|璃月英雄图鉴: 璃月角色图鉴|璃月人物图鉴|璃月英雄图鉴:
- "#申鹤图鉴" - "#申鹤图鉴"
- "#胡桃图鉴" - "#胡桃图鉴"
@ -68,6 +69,8 @@
- "#烟绯图鉴" - "#烟绯图鉴"
- "#云堇图鉴" - "#云堇图鉴"
- "#夜兰图鉴" - "#夜兰图鉴"
- "#瑶瑶图鉴"
- "#白术图鉴"
稻妻角色图鉴|稻妻人物图鉴|稻妻英雄图鉴: 稻妻角色图鉴|稻妻人物图鉴|稻妻英雄图鉴:
- "#神里绫人图鉴" - "#神里绫人图鉴"
- "#神里绫华图鉴" - "#神里绫华图鉴"
@ -93,7 +96,8 @@
- "#纳西妲图鉴" - "#纳西妲图鉴"
- "#莱依拉图鉴" - "#莱依拉图鉴"
- "#艾尔海森图鉴" - "#艾尔海森图鉴"
- "#瑶瑶图鉴" - "#迪希雅图鉴"
- "#卡维图鉴"
至冬角色图鉴|至冬人物图鉴|至冬英雄图鉴: 至冬角色图鉴|至冬人物图鉴|至冬英雄图鉴:
- "#达达利亚图鉴" - "#达达利亚图鉴"
未知地区角色图鉴|未知地区人物图鉴|未知地区英雄图鉴: 未知地区角色图鉴|未知地区人物图鉴|未知地区英雄图鉴:
@ -136,6 +140,9 @@
- "#赛诺图鉴" - "#赛诺图鉴"
- "#妮露图鉴" - "#妮露图鉴"
- "#纳西妲图鉴" - "#纳西妲图鉴"
- "#艾尔海森图鉴"
- "#迪希雅图鉴"
- "#白术图鉴"
四星角色图鉴|四星人物图鉴|四星英雄图鉴: 四星角色图鉴|四星人物图鉴|四星英雄图鉴:
- "#云堇图鉴" - "#云堇图鉴"
- "#五郎图鉴" - "#五郎图鉴"
@ -166,6 +173,8 @@
- "#多莉图鉴" - "#多莉图鉴"
- "#坎蒂丝图鉴" - "#坎蒂丝图鉴"
- "#莱依拉图鉴" - "#莱依拉图鉴"
- "#米卡图鉴"
- "#卡维图鉴"
风系角色图鉴|风系人物图鉴|风系英雄图鉴: 风系角色图鉴|风系人物图鉴|风系英雄图鉴:
- "#风主图鉴" - "#风主图鉴"
- "#枫原万叶图鉴" - "#枫原万叶图鉴"
@ -188,6 +197,7 @@
- "#香菱图鉴" - "#香菱图鉴"
- "#辛焱图鉴" - "#辛焱图鉴"
- "#烟绯图鉴" - "#烟绯图鉴"
- "#迪希雅图鉴"
水系角色图鉴|水系人物图鉴|水系英雄图鉴: 水系角色图鉴|水系人物图鉴|水系英雄图鉴:
- "#神里绫人图鉴" - "#神里绫人图鉴"
- "#达达利亚图鉴" - "#达达利亚图鉴"
@ -210,6 +220,7 @@
- "#罗莎莉亚图鉴" - "#罗莎莉亚图鉴"
- "#凯亚图鉴" - "#凯亚图鉴"
- "#莱依拉图鉴" - "#莱依拉图鉴"
- "#米卡图鉴"
雷系角色图鉴|雷系人物图鉴|雷系英雄图鉴: 雷系角色图鉴|雷系人物图鉴|雷系英雄图鉴:
- "#雷主图鉴" - "#雷主图鉴"
- "#八重神子图鉴" - "#八重神子图鉴"
@ -239,6 +250,8 @@
- "#纳西妲图鉴" - "#纳西妲图鉴"
- "#艾尔海森图鉴" - "#艾尔海森图鉴"
- "#瑶瑶图鉴" - "#瑶瑶图鉴"
- "#白术图鉴"
- "#卡维图鉴"
单手剑角色图鉴|单手剑人物图鉴|单手剑英雄图鉴: 单手剑角色图鉴|单手剑人物图鉴|单手剑英雄图鉴:
- "#风主图鉴" - "#风主图鉴"
- "#岩主图鉴" - "#岩主图鉴"
@ -257,6 +270,7 @@
- "#久岐忍图鉴" - "#久岐忍图鉴"
- "#妮露图鉴" - "#妮露图鉴"
- "#莱依拉图鉴" - "#莱依拉图鉴"
- "#艾尔海森"
双手剑角色图鉴|双手剑人物图鉴|双手剑英雄图鉴: 双手剑角色图鉴|双手剑人物图鉴|双手剑英雄图鉴:
- "#荒泷一斗图鉴" - "#荒泷一斗图鉴"
- "#优菈图鉴" - "#优菈图鉴"
@ -268,6 +282,8 @@
- "#诺艾尔图鉴" - "#诺艾尔图鉴"
- "#辛焱图鉴" - "#辛焱图鉴"
- "#多莉图鉴" - "#多莉图鉴"
- "#迪希雅图鉴"
- "#卡维图鉴"
弓系角色图鉴|弓系人物图鉴|弓系英雄图鉴: 弓系角色图鉴|弓系人物图鉴|弓系英雄图鉴:
- "#五郎图鉴" - "#五郎图鉴"
- "#达达利亚图鉴" - "#达达利亚图鉴"
@ -307,6 +323,8 @@
- "#鹿野院平藏图鉴" - "#鹿野院平藏图鉴"
- "#纳西妲图鉴" - "#纳西妲图鉴"
- "#流浪者图鉴" - "#流浪者图鉴"
- "#米卡图鉴"
- "#白术图鉴"
武器图鉴: 武器图鉴:
- 武器星级 - 武器星级
- "#五星武器图鉴" - "#五星武器图鉴"
@ -536,6 +554,8 @@
- "#原木刀图鉴" - "#原木刀图鉴"
- "#东花坊时雨图鉴" - "#东花坊时雨图鉴"
双手剑武器图鉴|双手武器图鉴: 双手剑武器图鉴|双手武器图鉴:
- "#饰铁之花图鉴"
- "#苇海信标图鉴"
- "#玛海菈的水色图鉴" - "#玛海菈的水色图鉴"
- "#赤角石溃杵图鉴" - "#赤角石溃杵图鉴"
- "#松籁响起之时图鉴" - "#松籁响起之时图鉴"
@ -747,6 +767,7 @@
- "#白铁大剑图鉴" - "#白铁大剑图鉴"
暴击率武器图鉴|暴击器图鉴|爆率武器图鉴: 暴击率武器图鉴|暴击器图鉴|爆率武器图鉴:
- "#赤沙之杖图鉴" - "#赤沙之杖图鉴"
- "#苇海信标图鉴"
- "#猎人之径图鉴" - "#猎人之径图鉴"
- "#波乱月白经津图鉴" - "#波乱月白经津图鉴"
- "#冬极白星图鉴" - "#冬极白星图鉴"
@ -794,6 +815,7 @@
- "#神射手之誓图鉴" - "#神射手之誓图鉴"
- "#信使图鉴" - "#信使图鉴"
元素精通武器图鉴|精通器图鉴: 元素精通武器图鉴|精通器图鉴:
- "#饰铁之花图鉴"
- "#千夜浮梦图鉴" - "#千夜浮梦图鉴"
- "#西福斯的月光图鉴" - "#西福斯的月光图鉴"
- "#圣显之钥图鉴" - "#圣显之钥图鉴"