From 20086984a8bcbf94cbb77f9a43dee598da9848d1 Mon Sep 17 00:00:00 2001 From: Zyy955 <1072411694@qq.com> Date: Sat, 14 Oct 2023 23:26:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8Dtrss=E6=A4=B0?= =?UTF-8?q?=E5=A5=B6=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/state.js b/apps/state.js index 5464eb8..91dd672 100644 --- a/apps/state.js +++ b/apps/state.js @@ -93,7 +93,7 @@ export class NewState extends plugin { // nodejs版本 const nodeVersion = process.version let BotStatus = "" - for (const i of e.msg.includes('pro') && Array.isArray(Bot.uin) ? Bot.uin : (Bot?.adapter ? Bot.adapter : [e.self_id])) { + for (const i of e.msg.includes('pro') && Array.isArray(Bot.uin) ? Bot.uin : (Bot?.adapter?.[Bot.uin] ? Bot.adapter : [e.self_id])) { const bot = Bot[i] if (!bot?.uin) continue // 头像