Skip to content

Class: ReplyEmbed

Gorciu edited this page Nov 19, 2025 · 2 revisions

This class is responsible for replacing Discord.JS's EmbedBuilder with something compatibile with the Translations API. Backwards compatibile with EmbedBuilder.

Discord.JS dependencies

  • APIEmbed
  • APIEmbedField
  • APIEmbedFooter
  • EmbedAuthorOptions
  • EmbedBuilder
  • RestOrArray

Internal dependencies

Methods

  • setAuthor(author: EmbedAuthorOptions)
  • setColor(color: PredefinedColors | RarelyUsedColors | #${number | string})
  • setDescription(desc: string)
  • setTitle(title: string)
  • setFields(...fields: RestOrArray)
  • addFields(...fields: RestOrArray)
  • setFooter(footer: APIEmbedFooter)
  • setImage(img: string)
  • setThumbnail(img: string)
  • setURL(url: string)
  • setTimestamp(timestamp?: Date | number | null)
  • toJSON()

Suggest a page in the issues.

Clone this wiki locally