Skip to main content
Module

x/akumakodo/mod.ts>AkumaKodoEmbed

A blazing fast discord bot framework built on top of discordeno and typescript!
Go to Latest
class AkumaKodoEmbed
import { AkumaKodoEmbed } from "https://deno.land/x/akumakodo@0.1.2/mod.ts";

Constructors

new
AkumaKodoEmbed(options?: AkumaKodoEmbedInterface, enforceLimits?)

Properties

optional
author: EmbedAuthor
color: number
currentTotal: number

The amount of characters in the embed.

optional
description: string
enforceLimits: boolean

Whether the limits should be enforced or not.

fields: EmbedField[]
optional
file: EmbedFile

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

optional
image: EmbedImage
optional
thumbnail: EmbedImage
optional
timestamp: string
optional
title: string
optional
url: string

Methods

addBlankField(inline?)
addField(
name: string,
value: string,
inline?,
)
attachFile(file: Blob, name: string)
fitData(data: string, max: number)
setAuthor(
name: string,
icon?: string,
url?: string,
)
setColor(color: string)
setDescription(description: string | string[])
setFooter(text: string, icon?: string)
setImage(url: string)
setThumbnail(url: string)
setTitle(title: string, url?: string)