Skip to main content

DiscordEmbed

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordEmbed

Interface: DiscordEmbed

https://discord.com/developers/docs/resources/channel#embed-object

Properties

author?

optional author: DiscordEmbedAuthor

Author information

Defined in

packages/types/dist/types/discord.d.ts:570


color?

optional color: number

Color code of the embed

Defined in

packages/types/dist/types/discord.d.ts:556


description?

optional description: string

Description of embed

Defined in

packages/types/dist/types/discord.d.ts:552


fields?

optional fields: DiscordEmbedField[]

Fields information

Defined in

packages/types/dist/types/discord.d.ts:572


optional footer: DiscordEmbedFooter

Footer information

Defined in

packages/types/dist/types/discord.d.ts:560


image?

optional image: DiscordEmbedImage

Image information

Defined in

packages/types/dist/types/discord.d.ts:562


provider?

optional provider: DiscordEmbedProvider

Provider information

Defined in

packages/types/dist/types/discord.d.ts:568


thumbnail?

optional thumbnail: DiscordEmbedThumbnail

Thumbnail information

Defined in

packages/types/dist/types/discord.d.ts:564


timestamp?

optional timestamp: string

Timestamp of embed content

Defined in

packages/types/dist/types/discord.d.ts:558


title?

optional title: string

Title of embed

Defined in

packages/types/dist/types/discord.d.ts:548


type?

optional type: EmbedTypes

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

Defined in

packages/types/dist/types/discord.d.ts:550


url?

optional url: string

Url of embed

Defined in

packages/types/dist/types/discord.d.ts:554


video?

optional video: DiscordEmbedVideo

Video information

Defined in

packages/types/dist/types/discord.d.ts:566