🐛 fix client connection crash on guild create

This commit is contained in:
Flam3rboy
2021-09-03 12:53:25 +02:00
parent d3179098bb
commit ea4201c6f7
2 changed files with 28 additions and 4 deletions
+11
View File
@@ -125,6 +125,17 @@ export interface GuildCreateEvent extends Event {
event: "GUILD_CREATE";
data: Guild & {
joined_at: Date;
// TODO: add them to guild
guild_scheduled_events: never[];
guild_hashes: {
channels: { omitted: boolean; hash: string };
metadata: { omitted: boolean; hash: string };
roles: { omitted: boolean; hash: string };
version: number;
};
presences: never[];
stage_instances: never[];
threads: never[];
};
}