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

x/oasis/packages/deps.ts>DiscordEmbed

An object oriented Discordeno framework
Latest
interface DiscordEmbed
Re-export
import { type DiscordEmbed } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

optional
title: string

Title of embed

optional
type: EmbedTypes

Type of embed (always "rich" for webhook embeds)

optional
description: string

Description of embed

optional
url: string

Url of embed

optional
color: number

Color code of the embed

optional
timestamp: string

Timestamp of embed content

optional
image: DiscordEmbedImage

Image information

optional
thumbnail: DiscordEmbedThumbnail

Thumbnail information

optional
video: DiscordEmbedVideo

Video information

optional
provider: DiscordEmbedProvider

Provider information

optional
author: DiscordEmbedAuthor

Author information

optional
fields: DiscordEmbedField[]

Fields information