This commit is contained in:
Jerry 2025-05-09 22:26:44 +08:00
parent a51e14067c
commit d41cfc551c

View File

@ -124,7 +124,7 @@ class BotService {
if (!raw) continue; if (!raw) continue;
raw.forEach((bot) => { raw.forEach((bot) => {
if (bot.uin && bot.groups) { if (bot.uin && bot.groups) {
if (bot.groups.find((group) => group.group_id === groupId)) return bot.uin; if (bot.groups.find((group) => group.group_id == groupId)) return bot.uin;
} }
}); });
} catch (err) { } catch (err) {