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

修正没有cookie时会报错的,去除游戏模块签到需要stoken设定

This commit is contained in:
Ctrlcvs 2022-08-01 23:23:58 +08:00 committed by leiyilu
parent 0feabb76fb
commit 34f2db9b38

View File

@ -47,9 +47,9 @@ const RETRY_OPTIONS = {
export async function sign(e) {
let {
skuid
skuid,cookie
} = await getCookie(e);
if (!skuid) {
if (!cookie) {
e.reply("请先绑定cookie~\n发送【cookie帮助】获取教程")
return true;
}