From a6542a1ffd6192954f8ffbfb6a1d0b8d79ae8ce8 Mon Sep 17 00:00:00 2001 From: UCPr <2032385471@qq.com> Date: Mon, 8 Sep 2025 21:51:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A8=E9=80=81=E6=97=B6=E5=A5=BD?= =?UTF-8?q?=E5=8F=8B=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/remind.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/remind.js b/apps/remind.js index e2c9e97..bea134a 100644 --- a/apps/remind.js +++ b/apps/remind.js @@ -342,9 +342,10 @@ export class Remind extends ZZZPlugin { const now = new Date(); const globalRemindTime = globalRemindConfig.globalRemindTime || '每日20时'; - for (const userId in allUserConfigs) { - const userConfig = JSON.parse(allUserConfigs[userId]); + for (const key in allUserConfigs) { + const userConfig = JSON.parse(allUserConfigs[key]); if (!userConfig.enable) continue; + const userId = +key; if (!Bot.fl.get(userId)) continue; const remindTime = userConfig.remindTime || globalRemindTime;