feat(GuildMemberManager): _fetchMany
This commit is contained in:
@@ -27,7 +27,7 @@ class ThreadListSyncAction extends Action {
|
||||
return coll.set(thread.id, thread);
|
||||
}, new Collection());
|
||||
|
||||
for (const rawMember of Object.values(data.members)) {
|
||||
for (const rawMember of Object.values(data.members || {})) {
|
||||
// Discord sends the thread id as id in this object
|
||||
const thread = client.channels.cache.get(rawMember.id);
|
||||
if (thread) {
|
||||
|
Reference in New Issue
Block a user