Merge pull request #7 from DiegoMagdaleno/master

Models: Update avatar to reflect the new NULL changes
This commit is contained in:
Flam3rboy 2021-05-23 19:30:32 +02:00 committed by GitHub
commit 72e50845ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ export interface ReadyEventData {
user: PublicUser & { user: PublicUser & {
mobile: boolean; mobile: boolean;
desktop: boolean; desktop: boolean;
email: string; email: string | null ;
flags: bigint; flags: bigint;
mfa_enabled: boolean; mfa_enabled: boolean;
nsfw_allowed: boolean; nsfw_allowed: boolean;
@ -104,7 +104,7 @@ export interface ReadyEventData {
merged_members?: Omit<Member, "settings" | "user">[][]; merged_members?: Omit<Member, "settings" | "user">[][];
// probably all users who the user is in contact with // probably all users who the user is in contact with
users?: { users?: {
avatar?: string; avatar: string | null;
discriminator: string; discriminator: string;
id: string; id: string;
username: string; username: string;