From ad7babcd48f77e2be7f8b859b5ad34eefac69cc0 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Sun, 14 Jul 2024 13:03:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20pref:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9=E9=9F=B3=E4=B9=90=E5=8F=91?= =?UTF-8?q?=E9=80=81=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/tools.js b/apps/tools.js index 553c5e0..255ed8b 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -572,7 +572,10 @@ export class tools extends plugin { const videoId = /video\/[^\?\/ ]+/.exec(url)[0].split("/")[1]; getBiliAudio(videoId, "").then(async audioUrl => { const path = this.getCurDownloadPath(e); + // 发送语音 e.reply(segment.record(await m4sToMp3(audioUrl, path))); + // 上传群文件 + await this.uploadGroupFile(e, path); }) return true }