From ef75e7c12c23477c2b85210a65d5549c9f6707b1 Mon Sep 17 00:00:00 2001 From: zhiyu <542716863@qq.com> Date: Thu, 1 Feb 2024 15:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8Dbili?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E8=A7=A3=E6=9E=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index fb67227..3ca9963 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -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; } // 动态处理