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

x/oasis/tests/deps.ts>DiscordUser

An object oriented Discordeno framework
Latest
interface DiscordUser
Re-export
import { type DiscordUser } from "https://deno.land/x/oasis@2.1.0/tests/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

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