detritus
On this page

Basic User Structure

import { Structures } from 'detritus-client';

Structures.User;
46 properties16 methods15 inheritedsrc/structures/user.ts:57

Constructor

Properties

avatar
string | null
Default null
avatarDecorationData
Default null
bot
boolean
Default false
clan
UserClan | null
Default null
client
readonly
Inherited from BaseStructure.client
collectibles
Default null
discriminator
string
Default '0000'
displayNameStyles
Default null
globalName
string | null
Default null
id
string
Default ''
primaryGuild
UserClan | null
Default null
publicFlags
number
Default 0
system?
boolean
optional
username
string
Default ''

Accessors

avatarUrl
string
get
createdAt
Date
get
createdAtUnix
number
get
defaultAvatarUrl
string
get
dm
Channel | null
get
guilds
get
hasBugHunterLevel1
boolean
get
hasBugHunterLevel2
boolean
get
hasDiscordCertifiedModerator
boolean
get
hasEarlySupporter
boolean
get
hasFreePremium
boolean
get
hasHypesquad
boolean
get
hasHypesquadHouseBalance
boolean
get
hasHypesquadHouseBravery
boolean
get
hasHypesquadHouseBrilliance
boolean
get
hasMfaSms
boolean
get
hasPartner
boolean
get
hasPremiumPromoDismissed
boolean
get
hasStaff
boolean
get
hasTeamUser
boolean
get
hasVerifiedBot
boolean
get
hasVerifiedDeveloper
boolean
get
isClientOwner
boolean
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isMe
boolean
get
isSystem
boolean
get
isWebhook
boolean
get
mention
string
get
messages
get
name
string
get
names
string[]
get
presence
Presence | null
get
shardId
number
get
Inherited from BaseStructure.shardId
tag
string
get

Methods