Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExtendedUser

Hierarchy

Index

Constructors

constructor

Properties

avatar

avatar: null | string

avatarURL

avatarURL: string

bot

bot: boolean

createdAt

createdAt: number

defaultAvatar

defaultAvatar: string

defaultAvatarURL

defaultAvatarURL: string

discriminator

discriminator: string

email

email: string

id

id: string

mention

mention: string

mfaEnabled

mfaEnabled: boolean

premiumType

premiumType: 0 | 1 | 2

Optional publicFlags

publicFlags: number

staticAvatarURL

staticAvatarURL: string

system

system: boolean

username

username: string

verified

verified: boolean

Methods

addRelationship

  • addRelationship(block?: boolean): Promise<void>
  • Parameters

    • Optional block: boolean

    Returns Promise<void>

deleteNote

  • deleteNote(): Promise<void>
  • Returns Promise<void>

dynamicAvatarURL

  • dynamicAvatarURL(format?: ImageFormat, size?: number): string
  • Parameters

    Returns string

editNote

  • editNote(note: string): Promise<void>
  • Parameters

    • note: string

    Returns Promise<void>

getDMChannel

getProfile

inspect

removeRelationship

  • removeRelationship(): Promise<void>

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Generated using TypeDoc