Skip to main content
Module

x/denord/mod.ts>User

🗣 Discord API module
Latest
interface User
implements ReturnType<userMethods>
import { type User } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

id: UserId

the user's id identify

username: string

the user's username, not unique across the platform identify

discriminator: string

the user's 4-digit discord-tag identify

avatar: ImageData

the user's avatar hash identify

optional
bot: boolean

whether the user belongs to an OAuth2 application identify

optional
system: boolean

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

optional
mfaEnabled: boolean

whether the user has two factor enabled on their account identify

optional
locale: string

the user's chosen language option identify

optional
verified: boolean

whether the email on this account has been verified email

optional
email: string

the user's email email

optional
flags: UserFlag[]

the flags on a user's account identify

optional
premiumType: PremiumType

the type of Nitro subscription on a user's account identify

optional
publicFlags: UserFlag[]

the public flags on a user's account identify