This commit is contained in:
Jerry 2025-05-09 22:27:13 +08:00
parent d41cfc551c
commit c5e787eb33

View File

@ -98,7 +98,7 @@ class BotService {
| { uin: string; groups: { group_id: string; group_name: string }[]; nickName: string }[]
| undefined = await redisService.fetch('crystelfBots', clientId);
if (!raw) continue;
if (raw.find((bot) => bot.uin === botId)) return clientId;
if (raw.find((bot) => bot.uin == botId)) return clientId;
} catch (err) {
logger.error(`读取${clientId}出错..`);
}