T

FluxUser

A Discord user record.

type FluxUser = { … }

Members

avatarstring | null

The avatar image hash; null when the user has the default avatar.

botboolean

true for bot accounts.

The legacy four-digit tag; '0' for accounts on unique usernames.

globalNamestring | null

The display name the user set; null when they set none.

idstring

The user's Discord snowflake id.

premiumType?number | null

The user's Nitro tier: 1 Nitro Classic, 2 Nitro, 3 Nitro Basic; null or 0 without Nitro.

usernamestring

The unique account name, without the @.