mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: Guild.members
This commit is contained in:
parent
d006db21ed
commit
a465215d2f
@ -553,9 +553,10 @@ export class Guild extends BaseGuild implements Model {
|
||||
data.default_message_notifications;
|
||||
this.explicitContentFilterLevel = data.explicit_content_filter;
|
||||
this.premiumTier = data.premium_tier;
|
||||
|
||||
this.members = new Map(
|
||||
data.members?.map(member => [
|
||||
data.id,
|
||||
member.user!.id,
|
||||
new Member(session, { ...member, user: member.user! }, data.id),
|
||||
])
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user