Skip to main content
Version: Next

APIUserWithMember

Hierarchy

Index

Properties

optionalinheritedaccent_color

accent_color?: null | number

The user's banner color encoded as an integer representation of hexadecimal color code

inheritedavatar

avatar: null | string

optionalinheritedavatar_decoration

avatar_decoration?: null | string

optionalinheritedavatar_decoration_data

avatar_decoration_data?: null | APIAvatarDecorationData

optionalinheritedbanner

banner?: null | string

optionalinheritedbot

bot?: boolean

Whether the user belongs to an OAuth2 application

inheriteddiscriminator

discriminator: string

The user's Discord-tag

optionalinheritedemail

email?: null | string

The user's email

optionalinheritedflags

flags?: UserFlags

inheritedglobal_name

global_name: null | string

The user's display name, if it is set. For bots, this is the application name

inheritedid

id: string

The user's id

optionalinheritedlocale

locale?: string

The user's chosen language option

optionalmember

The member field is only present in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channels

@see

optionalinheritedmfa_enabled

mfa_enabled?: boolean

Whether the user has two factor enabled on their account

optionalinheritedpremium_type

premium_type?: UserPremiumType

The type of Nitro subscription on a user's account

@see

optionalinheritedpublic_flags

public_flags?: UserFlags

optionalinheritedsystem

system?: boolean

Whether the user is an Official Discord System user (part of the urgent message system)

inheritedusername

username: string

The user's username, not unique across the platform

optionalinheritedverified

verified?: boolean

Whether the email on this account has been verified