mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-07-04 06:39:18 +00:00
优化
This commit is contained in:
parent
a51e14067c
commit
d41cfc551c
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user