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;