🐞 fix: 修复bili小程序解析问题

This commit is contained in:
zhiyu 2024-02-01 15:42:07 +08:00
parent e25a901fd4
commit ef75e7c12c

View File

@ -302,8 +302,8 @@ export class tools extends plugin {
url = url.replace(matched[0], av2BV(Number(matched[2])));
}
// 只提取音乐处理
if (e.msg.includes("bili音乐")) {
await this.biliMusic(url, e, biliInfo);
if (e.msg !== undefined && e.msg.includes("bili音乐")) {
await this.biliMusic(url, e);
return true;
}
// 动态处理