mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
修正没有cookie时会报错的,去除游戏模块签到需要stoken设定
This commit is contained in:
parent
0feabb76fb
commit
34f2db9b38
@ -47,9 +47,9 @@ const RETRY_OPTIONS = {
|
|||||||
|
|
||||||
export async function sign(e) {
|
export async function sign(e) {
|
||||||
let {
|
let {
|
||||||
skuid
|
skuid,cookie
|
||||||
} = await getCookie(e);
|
} = await getCookie(e);
|
||||||
if (!skuid) {
|
if (!cookie) {
|
||||||
e.reply("请先绑定cookie~\n发送【cookie帮助】获取教程")
|
e.reply("请先绑定cookie~\n发送【cookie帮助】获取教程")
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user