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

x/discordjs_deno/mod.ts>EmbedBuilder

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