summary refs log tree commit diff
path: root/src/util/interfaces
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2022-12-20 23:18:52 -0500
committerPuyodead1 <puyodead@proton.me>2022-12-20 23:25:20 -0500
commit8a28dd467540526d133972907d39f2a1eded929b (patch)
treea10f5e4e7ac34d1385c971c1f6b96ef96d1fa9dd /src/util/interfaces
parentFix the roles bug (diff)
downloadserver-8a28dd467540526d133972907d39f2a1eded929b.tar.xz
Client: update to canary 165341
Diffstat (limited to 'src/util/interfaces')
-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[];