yz-yuki-plugin 2.0.7-3 → 2.0.7-4

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.
@@ -499,7 +499,8 @@ message.use(async (e) => {
499
499
  }, [/^(#|\/)(yuki|优纪)?搜索(b站|B站|bili|bilibili|哔哩|哔哩哔哩)(up|UP)主.*$/]);
500
500
  /** 根据名称搜索up的uid*/
501
501
  message.use(async (e) => {
502
- if (biliConfigData?.parseVideoLink && !!biliConfigData.parseVideoLink === false) {
502
+ let parseVideoLink = !!biliConfigData?.parseVideoLink === false ? false : true;
503
+ if (parseVideoLink === false) {
503
504
  logger?.info(`优纪B站视频链接解析配置文件已设置关闭,解析终止。`);
504
505
  return;
505
506
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yz-yuki-plugin",
3
- "version": "2.0.7-3",
3
+ "version": "2.0.7-4",
4
4
  "description": "优纪插件,yunzaijs 关于 微博推送、B站推送 等功能的拓展插件",
5
5
  "author": "snowtafir",
6
6
  "type": "module",