Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>User

A powerful and customizable framework for Discordeno
Latest
interface User
Re-export
import { type User } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

id: string

The user's id

username: string

The user's username, not unique across the platform

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
mfaEnabled: boolean

Whether the user has two factor enabled on their account

optional
locale: string

The user's chosen language option

optional
verified: boolean

Whether the email on this account has been verified

optional
email: string | null

The user's email

optional
flags: UserFlags

The flags on a user's account

optional
premiumType: PremiumTypes

The type of Nitro subscription on a user's account

optional
publicFlags: UserFlags

The public flags on a user's account

optional
banner: string

the user's banner, or null if unset

optional
accent_color: number

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