Interface PartialUser

Hierarchy

Properties

accentColor: undefined | null | number
avatar: null | string
avatarDecoration: null | string

Deprecated

Use avatarDecorationData instead

avatarDecorationData: null | AvatarDecorationData
banner: undefined | null | string
bot: boolean
client: Client<true>
createdAt: Date
createdTimestamp: number
defaultAvatarURL: string
discriminator: null
displayName: string
dmChannel: null | DMChannel
flags: null | Readonly<UserFlagsBitField>
globalName: null | string
hexAccentColor: undefined | null | `#${string}`
id: string
partial: true
system: boolean
tag: null
username: null

Methods

  • Parameters

    Returns null | string

  • Parameters

    Returns null | string

  • Parameters

    Returns undefined | null | string

  • Parameters

    • Optional force: boolean

    Returns Promise<DMChannel>

  • Returns Promise<DMChannel>

  • Parameters

    Returns string

  • Parameters

    Returns boolean

  • Parameters

    • Optional force: boolean

    Returns Promise<User>

  • Parameters

    • Optional force: boolean

    Returns Promise<UserFlagsBitField>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns `<@${string}>`

  • Returns string

Generated using TypeDoc