summary refs log tree commit diff
path: root/util/src/interfaces/Event.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 12:53:25 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 12:53:25 +0200
commitddf4f54e8157f5f2469852025e111517cd35bb02 (patch)
treea3ccdf2cc213c6f9d23d2bbba88f84dd4a11e981 /util/src/interfaces/Event.ts
parentfix #310 (diff)
downloadserver-ddf4f54e8157f5f2469852025e111517cd35bb02.tar.xz
:bug: fix client connection crash on guild create
Diffstat (limited to 'util/src/interfaces/Event.ts')
-rw-r--r--util/src/interfaces/Event.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts

index 7ea1bd49..acaa822e 100644 --- a/util/src/interfaces/Event.ts +++ b/util/src/interfaces/Event.ts
@@ -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[]; }; }