From 17773e9dbf5c1cbc17452da74462e6f74c0186ba Mon Sep 17 00:00:00 2001 From: Diego Magdaleno Date: Sun, 23 May 2021 12:25:16 -0500 Subject: [PATCH] Models: Update avatar to reflect the new NULL changes --- src/models/Event.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/Event.ts b/src/models/Event.ts index 6f2a7444..635adc46 100644 --- a/src/models/Event.ts +++ b/src/models/Event.ts @@ -49,7 +49,7 @@ export interface ReadyEventData { user: PublicUser & { mobile: boolean; desktop: boolean; - email: string; + email: string | null ; flags: bigint; mfa_enabled: boolean; nsfw_allowed: boolean; @@ -104,7 +104,7 @@ export interface ReadyEventData { merged_members?: Omit[][]; // probably all users who the user is in contact with users?: { - avatar?: string; + avatar: string | null; discriminator: string; id: string; username: string;