Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordjs_deno/src/index.ts>EmbedBuilder

discord.jsのdenoバージョン
Go to Latest
class EmbedBuilder
Re-export
import { EmbedBuilder } from "https://deno.land/x/discordjs_deno@0.1/src/index.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