From 8565b34f4a640a369d6b52d1a8608869ebfb7859 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Fri, 2 Aug 2024 09:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E9=80=82=E9=85=8D`?= =?UTF-8?q?=E6=B1=BD=E6=B0=B4=E9=9F=B3=E4=B9=90`=E7=9A=84=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E5=88=86=E4=BA=AB?= 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 cf8a337..3fbbb06 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1797,7 +1797,7 @@ export class tools extends plugin { // 汽水音乐 async qishuiMusic(e) { const normalRegex = /^(.*?)\s*https?:\/\//; - const musicInfo = normalRegex.exec(e.msg)?.[1].trim(); + const musicInfo = normalRegex.exec(e.msg)?.[1].trim().replace("@汽水音乐", ""); logger.info(`[R插件][qishuiMusic] 识别音乐为:${musicInfo}`); // 使用临时接口下载 const url = await this.musicTempApi(e, musicInfo, "汽水音乐");