import type { MessageEmbed , MessageEmbedOptions } from "discord.js" ; /**
 * Returned from  embedComponent export type EmbedComponent = { type : "embed" ; embed : MessageEmbed | MessageEmbedOptions ; } ; /**
 * Creates an embed component.
 * Accepts  https , or a DJS  https instance.
 *
 * ```js
 * context.reply(() => [
 *   embedComponent({
 *     title: "Your weather today 🌤",
 *     description: `Sunny, with a 12% chance of rain`,
 *     footer: {
 *       text: "Sourced from https://openweathermap.org/",
 *     },
 *   }),
 * ])
 * ```
  export function embedComponent ( embed ) { return { type : "embed" , embed } ; }