Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class default
extends Array<Embed>
import { default } from "https://deno.land/x/discordeno@13.0.0-rc45/template/bigbot/src/utils/Embeds.ts";

Constructors

new
default(bot: Bot, enforceLimits?)

Properties

bot: Bot
currentTotal: number

The amount of characters in the embed.

enforceLimits: boolean

Whether the limits should be enforced or not.

optional
file: EmbedFile

If a file is attached to the message it will be added here.

Methods

addBlankField(inline?)
addEmbed(embed?: Embed)
addField(
name: string,
value: string,
inline?,
)
attachFile(file: unknown, name: string)
fitData(data: string, max: number)
setAuthor(
name: string,
iconUrl?: string | User,
url?: string,
)
setColor(color: string)
setDescription(description: string | string[])
setFooter(text: string, icon?: string)
setImage(url: string | User)
setThumbnail(url: string)
setTimestamp(time?: number | string)
setTitle(title: string, url?: string)