From df3739010869555a5be6a8808ae323222337069c Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Sun, 23 Jun 2024 17:19:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20bodi?= =?UTF-8?q?an=20=E6=97=A0=E6=B3=95=E5=8F=91=E9=80=81=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 0021055..4bc4c29 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -945,13 +945,13 @@ export class tools extends plugin { ]); if (e.msg.includes("musicId")) { const path = `${ this.getCurDownloadPath(e) }`; - await getBodianAudio(id, path).then(async sendPath => { + await getBodianAudio(id, path).then(sendPath => { // 发送语音 - await e.reply(segment.record(sendPath)); + e.reply(segment.record(sendPath)); // 上传群文件 - await this.uploadGroupFile(e, sendPath); + this.uploadGroupFile(e, sendPath); // 删除文件 - await checkAndRemoveFile(sendPath); + checkAndRemoveFile(sendPath); }); } else if (e.msg.includes("mvId")) { await getBodianMv(id).then(res => {