Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface APIUser

Hierarchy

  • APIUser

Index

Properties

accent_color?: null | number

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

avatar: null | string
banner?: null | string
bot?: boolean

Whether the user belongs to an OAuth2 application

discriminator: string

The user's 4-digit discord-tag

email?: null | string

The user's email

flags?: UserFlags
id: string

The user's id

locale?: string

The user's chosen language option

mfa_enabled?: boolean

Whether the user has two factor enabled on their account

premium_type?: UserPremiumType

The type of Nitro subscription on a user's account

public_flags?: UserFlags
system?: boolean

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

username: string

The user's username, not unique across the platform

verified?: boolean

Whether the email on this account has been verified

Generated using TypeDoc version 0.22.16, the 9/16/2022 at 1:09:16 AM