Implements

Constructors

Properties

brandingOptions: EmbedData
emojis: IEmojis
includeTimestamp: boolean
timestampInline: boolean
timestampSmall: boolean

Methods

  • Parameters

    • embed: EmbedBuilder

    Returns EmbedBuilder

  • Parameters

    • Optional color: number | (keyof IColors)

    Returns number

  • Extracts the description from an embed, removing the custom header these embeds have in the description, and the codeblock.

    The following structure is expected (all in description field):

    • title
    • (codeblock start) ```
    • ...description
    • (codeblock end) ```

    Parameters

    • embed: EmbedBuilder

    Returns undefined | string

  • Extracts the description from an embed, removing the custom header these embeds have in the description.

    Parameters

    • embed: EmbedBuilder

    Returns undefined | string