mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
修改at触发者
This commit is contained in:
parent
6fdbe44f0e
commit
af6776bb4d
@ -218,12 +218,12 @@ export async function mysSign(e) {
|
|||||||
export async function bbsSeach(e){
|
export async function bbsSeach(e){
|
||||||
let miHoYoApi = new MihoYoApi(e);
|
let miHoYoApi = new MihoYoApi(e);
|
||||||
if (Object.keys((await miHoYoApi.getStoken(e.user_id))).length == 0) {
|
if (Object.keys((await miHoYoApi.getStoken(e.user_id))).length == 0) {
|
||||||
e.reply("未读取到stoken请检查cookies是否包含login_ticket,请先绑定stoken再查询~");
|
await replyMsg(e, "未读取到stoken请检查cookies是否包含login_ticket,请先绑定stoken再查询~");
|
||||||
await cookiesDocHelp(e);
|
await cookiesDocHelp(e);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
let resObj=await mysSeach(e)
|
let resObj=await mysSeach(e)
|
||||||
e.reply(`当前米游币数量为:${resObj.data.total_points},今日剩余可获取:${resObj.data.can_get_points}`);
|
await replyMsg(e,`当前米游币数量为:${resObj.data.total_points},今日剩余可获取:${resObj.data.can_get_points}`);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
async function mysSeach(e){
|
async function mysSeach(e){
|
||||||
|
Loading…
Reference in New Issue
Block a user