yz-yuki-plugin 2.0.7-21 → 2.0.7-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,6 +148,9 @@ async function checkBiliLogin(e) {
|
|
|
148
148
|
const LoginCookieTTLStr = LoginCookieTTL === -1 ? '永久' : LoginCookieTTL === -2 ? '-' : `${new Date(Date.now() + LoginCookieTTL * 1000).toLocaleString()}`;
|
|
149
149
|
e.reply(`~B站账号已登陆~\n有效期至:${LoginCookieTTLStr}。\n昵称:${uname}\nuid:${mid}\n硬币:${money}\n经验等级:${current_level}\n当前经验值exp:${current_exp}\n下一等级所需exp:${next_exp}`);
|
|
150
150
|
}
|
|
151
|
+
else if (resData.code === -101) {
|
|
152
|
+
e.reply('B站登录CK已失效,请重新扫码登录');
|
|
153
|
+
}
|
|
151
154
|
else {
|
|
152
155
|
// 处理其他情况
|
|
153
156
|
e.reply('意外情况,未能成功获取登录ck的有效状态');
|