Skip to main content
Deno 2 is finally here 🎉️
Learn more
class EmbedBuilder
import { EmbedBuilder } from "https://deno.land/x/discordjs_deno@0.16/src/builder/embedbuilder.ts";

Properties

private
optional
author: EmbedAuthor
private
optional
description: string
private
fields: EmbedField[]
private
optional
title: string

Methods

addField(
name: string,
value: string,
inline?: boolean,
): this
build(): Record<string, unknown>
setAuthor(
name: string,
iconURL?: string,
url?: string,
): this
setDescription(description: string): this
setFooter(text: string, iconURL?: string): this
setTitle(title: string): this