yz-yuki-plugin 2.0.7-4 → 2.0.7-5
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.
- package/lib/apps/bilibili.js +1 -1
- package/package.json +1 -1
package/lib/apps/bilibili.js
CHANGED
|
@@ -502,7 +502,7 @@ message.use(async (e) => {
|
|
|
502
502
|
let parseVideoLink = !!biliConfigData?.parseVideoLink === false ? false : true;
|
|
503
503
|
if (parseVideoLink === false) {
|
|
504
504
|
logger?.info(`优纪B站视频链接解析配置文件已设置关闭,解析终止。`);
|
|
505
|
-
return;
|
|
505
|
+
return false;
|
|
506
506
|
}
|
|
507
507
|
const videoIDMatch = e.msg.match(/(b23\.tv\/([a-zA-Z0-9]+))|(www\.bilibili\.com\/video\/)?(av\d+|BV[a-zA-Z0-9]+)/);
|
|
508
508
|
let videoID;
|