Hierarchy

  • IUser

Properties

accent_color?: number

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

avatar: string

User's avatar hash.

banner?: string

the user's banner hash

bot?: boolean

Whether or not the user belongs to an OAuth2 application.

discriminator: string

The user's 4-digit discord-tag

email?: string

The user's email address.

flags?: number
id: string

User ID Snowflake

locale?: string

The user's chosen language option.

mfa_enabled?: boolean

Whether or not the user has two-factor authentication enabled.

premium_type: number

User's Nitro subscription type.

public_flags?: number

the public flags on a user's account

system?: boolean

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

username: string

User's username. Not unique across the platform.

verified?: string

Whether or not the user has verified their email address.

Generated using TypeDoc