From 8750dc43148e1328994ce5d33200be74c387c4c3 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Thu, 8 Aug 2024 23:39:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8Dytb?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E9=99=90=E5=88=B6=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index b1a0064..9f69ee4 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -2101,8 +2101,6 @@ export class tools extends plugin { } const stats = fs.statSync(path); const videoSize = Math.floor(stats.size / (1024 * 1024)); - logger.info(typeof videoSize); - logger.info(typeof videoSizeLimit); if (videoSize > videoSizeLimit) { e.reply(`当前视频大小:${ videoSize }MB,\n大于设置的最大限制,\n改为上传群文件`); await this.uploadGroupFile(e, path);