mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-07-04 14:49:19 +00:00
优化
This commit is contained in:
parent
d41cfc551c
commit
c5e787eb33
@ -98,7 +98,7 @@ class BotService {
|
|||||||
| { uin: string; groups: { group_id: string; group_name: string }[]; nickName: string }[]
|
| { uin: string; groups: { group_id: string; group_name: string }[]; nickName: string }[]
|
||||||
| undefined = await redisService.fetch('crystelfBots', clientId);
|
| undefined = await redisService.fetch('crystelfBots', clientId);
|
||||||
if (!raw) continue;
|
if (!raw) continue;
|
||||||
if (raw.find((bot) => bot.uin === botId)) return clientId;
|
if (raw.find((bot) => bot.uin == botId)) return clientId;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(`读取${clientId}出错..`);
|
logger.error(`读取${clientId}出错..`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user