yz-yuki-plugin 2.0.7-20 → 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的有效状态');
|
|
@@ -430,8 +430,8 @@ class BiliTask {
|
|
|
430
430
|
// 合并所有消息
|
|
431
431
|
const forwardSendMardKeyList = [];
|
|
432
432
|
forwardNodes.push({
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
nickname: '优纪酱',
|
|
434
|
+
user_id: String(80000000),
|
|
435
435
|
message: ['有新的B站动态了~'],
|
|
436
436
|
time: Date.now()
|
|
437
437
|
});
|
|
@@ -446,8 +446,8 @@ class BiliTask {
|
|
|
446
446
|
forwardSendMardKeyList.push(sendMarkKey); // 收集合并转发的标记键
|
|
447
447
|
// 每条动态一个 node
|
|
448
448
|
forwardNodes.push({
|
|
449
|
-
|
|
450
|
-
|
|
449
|
+
nickname: '匿名消息',
|
|
450
|
+
user_id: String(80000000),
|
|
451
451
|
message: messages,
|
|
452
452
|
time: Date.now()
|
|
453
453
|
});
|
|
@@ -376,8 +376,8 @@ class WeiboTask {
|
|
|
376
376
|
// 合并所有消息
|
|
377
377
|
const forwardSendMardKeyList = [];
|
|
378
378
|
forwardNodes.push({
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
nickname: '优纪酱',
|
|
380
|
+
user_id: String(80000000),
|
|
381
381
|
message: ['有新的微博动态了~'],
|
|
382
382
|
time: Date.now()
|
|
383
383
|
});
|
|
@@ -392,8 +392,8 @@ class WeiboTask {
|
|
|
392
392
|
forwardSendMardKeyList.push(sendMarkKey); // 收集合并转发的标记键
|
|
393
393
|
// 每条动态一个 node
|
|
394
394
|
forwardNodes.push({
|
|
395
|
-
|
|
396
|
-
|
|
395
|
+
nickname: '匿名消息',
|
|
396
|
+
user_id: String(80000000),
|
|
397
397
|
message: messages,
|
|
398
398
|
time: Date.now()
|
|
399
399
|
});
|