Extremely Popular
Go to Latest
interface DiscordUser
import { type DiscordUser } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";

Properties

username: string

The user's username, not unique across the platform

optional
locale: string

The user's chosen language option

optional
flags: UserFlags

The flags on a user's account

optional
premium_type: PremiumTypes

The type of Nitro subscription on a user's account

optional
public_flags: UserFlags

The public flags on a user's account

optional
accent_color: number

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

id: string

The user's id

discriminator: string

The user's 4-digit discord-tag

avatar: string | null

The user's avatar hash

optional
bot: boolean

Whether the user belongs to an OAuth2 application

optional
system: boolean

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

optional
mfa_enabled: boolean

Whether the user has two factor enabled on their account

optional
verified: boolean

Whether the email on this account has been verified

optional
email: string | null

The user's email

optional
banner: string

the user's banner, or null if unset

import DiscordUser
import { DiscordUser } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";