From 56ef54aecffdde8ceee1c04a5f2dad7303b7535f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E5=88=80=E9=B1=BC?= <9903082+qdyovo@user.noreply.gitee.com> Date: Fri, 18 Oct 2024 10:53:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BD=91=E6=98=93=E8=80=81=E7=89=88=E6=9C=AC=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=B9=9F=E4=BC=9A=E8=A2=AB=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index 60fd81b..1e9e243 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1615,7 +1615,7 @@ export class tools extends plugin { musicUrlReg2.exec(message)?.[3] || musicUrlReg.exec(message)?.[2] || musicUrlReg3.exec(message)?.[2] || - /id=(\d+)/.exec(message)[1]; + /\bid=(\d+)/.exec(message)[1]; // 如果没有下载地址跳出if if (_.isEmpty(id)) { e.reply(`识别:网易云音乐,解析失败!`);