From 280a584aed8dacd24f409abdf4627fc48d2f3551 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Tue, 20 Dec 2022 23:18:52 -0500 Subject: Client: update to canary 165341 --- src/util/interfaces/Event.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/util/interfaces') 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[]; -- cgit 1.5.1