Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Embed

Hierarchy

  • Embed

Index

Constructors

  • new Embed(options: EmbedSettings): Embed

Properties

author: undefined | User
color: ColorResolvable
descTransform: (desc: string) => string

Type declaration

    • (desc: string): string
    • Parameters

      • desc: string

      Returns string

images: {} = {}

Type declaration

  • [name: string]: string
refTransform: (user: User) => [string, undefined | string]

Type declaration

    • (user: User): [string, undefined | string]
    • Parameters

      • user: User

      Returns [string, undefined | string]

Methods

  • create(options: EmbedOptions | EmbedOptions[]): MessageOptions
  • Parameters

    • options: EmbedOptions | EmbedOptions[]

    Returns MessageOptions

  • createSingularEmbed(options: EmbedOptions): MessageOptions
  • Parameters

    • options: EmbedOptions

    Returns MessageOptions

  • registerImage(name: string, url: string): string
  • Parameters

    • name: string
    • url: string

    Returns string

Generated using TypeDoc