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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yz-yuki-plugin",
3
- "version": "2.0.7-4",
3
+ "version": "2.0.7-5",
4
4
  "description": "优纪插件,yunzaijs 关于 微博推送、B站推送 等功能的拓展插件",
5
5
  "author": "snowtafir",
6
6
  "type": "module",