diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 22:48:18 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 22:48:18 +1000 |
commit | 891e54839643087a881784024aac8d15b034d300 (patch) | |
tree | 71d52fffc361ac4982852d7e90076410d0511ef3 /src | |
parent | Remove user settings from GUILD_MEMBER_LIST_UPDATE response (diff) | |
download | server-891e54839643087a881784024aac8d15b034d300.tar.xz |
Fix client crash on GUILD_CREATE
Diffstat (limited to 'src')
-rw-r--r-- | src/util/entities/Member.ts | 1 | ||||
-rw-r--r-- | src/util/interfaces/Event.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts index 27c67c40..34089af2 100644 --- a/src/util/entities/Member.ts +++ b/src/util/entities/Member.ts @@ -364,6 +364,7 @@ export class Member extends BaseClassWithoutId { presences: [], stage_instances: [], threads: [], + embedded_activities: [], }, user_id, } as GuildCreateEvent), diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts index 472fd572..8048250c 100644 --- a/src/util/interfaces/Event.ts +++ b/src/util/interfaces/Event.ts @@ -156,6 +156,7 @@ export interface GuildCreateEvent extends Event { presences: never[]; stage_instances: never[]; threads: never[]; + embedded_activities: never[]; }; } |