summary refs log tree commit diff
path: root/src/util/interfaces/Event.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-21 16:10:03 +1100
committerGitHub <noreply@github.com>2022-12-21 16:10:03 +1100
commit9da0d54a7bd7250910a86e1160e0d456341c1f63 (patch)
treecaeb291bea229b73a1e8d32d9d70a9cc64d88aef /src/util/interfaces/Event.ts
parentFix the roles bug (diff)
parentFix logo patch and update changelog generator (diff)
downloadserver-9da0d54a7bd7250910a86e1160e0d456341c1f63.tar.xz
Merge pull request #917 from Puyodead1/refactor/client/165341
[Refactor] Update Test Client
Diffstat (limited to '')
-rw-r--r--src/util/interfaces/Event.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts

index 36eedbfc..f5bccb2f 100644 --- a/src/util/interfaces/Event.ts +++ b/src/util/interfaces/Event.ts
@@ -20,6 +20,7 @@ import { Status, Presence, UserSettings, + IReadyGuildDTO, } from "@fosscord/util"; export interface Event { @@ -62,7 +63,7 @@ export interface ReadyEventData { }; private_channels: Channel[]; // this will be empty for bots session_id: string; // resuming - guilds: Guild[]; + guilds: IReadyGuildDTO[]; analytics_token?: string; connected_accounts?: ConnectedAccount[]; consents?: { @@ -155,7 +156,7 @@ export interface ChannelRecipientRemoveEvent extends Event { export interface GuildCreateEvent extends Event { event: "GUILD_CREATE"; - data: Guild & { + data: IReadyGuildDTO & { joined_at: Date; // TODO: add them to guild guild_scheduled_events: never[];