User
Hierarchy
- User
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Properties
publicaccentColor
publicavatar
The avatar hash of this user
publicbanner
The banner hash of this user
publicbot
Whether this user belongs to an OAuth2 application
publicclient
The client that initialized this user
publicdiscriminator
The discriminator of this user (if any)
publicflags
The flags of this user
publicglobalName
The global name/display name of this user
publicid
The ID of this user
publicpublicFlags
The public flags of this user
publicsystem
Whether this user is an official Discord System user (part of the urgent message system)
publicusername
The username of this user
Accessors
publicdisplayName
The global name of this user, or their username if they don’t have one
publictag
This user’s username, or their legacy tag (e.g.
hydrabolt#0001
) if they’re using the legacy username system
Methods
publicbannerURL
The banner URL of this user
publicdisplayAvatarURL
The avatar URL of this user
The accent color of this user encoded as an integer representation of hexadecimal color code