Discord
User
: { accent_color
?: number; avatar
: string; banner
?: string; bot
?: boolean; discriminator
: string; email
?: string; flags
?: DiscordUserFlags; id
: string; locale
?: DiscordLocales; mfa_enabled
?: boolean; premium_type
?: DiscordPremiumTypes; public_flags
?: DiscordUserFlags; system
?: boolean; username
: string; verified
?: boolean; }
Type declaration
-
Optional
accent_color?: number
-
avatar: string
-
Optional
banner?: string
-
Optional
bot?: boolean
-
discriminator: string
-
Optional
email?: string
-
-
id: string
-
-
Optional
mfa_enabled?: boolean
-
-
-
Optional
system?: boolean
-
username: string
-
Optional
verified?: boolean
See
https://discord.com/developers/docs/resources/user#user-object-user-structure