From cce3f2c28c7f4b33593112e0dbdcf0e0c415e94d Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Thu, 2 Jan 2025 20:56:20 +0800 Subject: [PATCH] fix: filter empty --- apps/bym.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/bym.js b/apps/bym.js index fe1f52a..35bdcb2 100644 --- a/apps/bym.js +++ b/apps/bym.js @@ -175,7 +175,7 @@ export class bym extends plugin { * @param msg */ function filterResponseChunk (msg) { - if (!msg) { + if (!msg || typeof msg !== 'string') { return false } if (msg.trim() === '```') {