From c022e595c0fd549a17fa649fb54b0916317b192f Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Wed, 8 May 2024 16:43:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20V1.6.7-lts=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dnetease=E4=B8=8B=E8=BD=BD=E9=83=A8=E5=88=86=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 修复函数`downloadMp3`导致的一系列下载问题 2. 修复netease music下载 3. 修复皮皮虾的问题 4. 修正部分注释 --- apps/tools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index fda850d..98e0da2 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1792,9 +1792,9 @@ export class tools extends plugin { */ async uploadGroupFile(e, path) { if (e.bot?.sendUni) { - e.group.fs.upload(path); + await e.group.fs.upload(path); } else { - e.group.sendFile(path); + await e.group.sendFile(path); } } }