DiscordEmbed
Documentation / @discordeno/bot / DiscordEmbed
Interface: DiscordEmbed
Defined in: packages/types/dist/types/discord.d.ts:549
https://discord.com/developers/docs/resources/channel#embed-object
Properties
author?
optional
author:DiscordEmbedAuthor
Defined in: packages/types/dist/types/discord.d.ts:573
Author information
color?
optional
color:number
Defined in: packages/types/dist/types/discord.d.ts:559
Color code of the embed
description?
optional
description:string
Defined in: packages/types/dist/types/discord.d.ts:555
Description of embed
fields?
optional
fields:DiscordEmbedField
[]
Defined in: packages/types/dist/types/discord.d.ts:575
Fields information
footer?
optional
footer:DiscordEmbedFooter
Defined in: packages/types/dist/types/discord.d.ts:563
Footer information
image?
optional
image:DiscordEmbedImage
Defined in: packages/types/dist/types/discord.d.ts:565
Image information
provider?
optional
provider:DiscordEmbedProvider
Defined in: packages/types/dist/types/discord.d.ts:571
Provider information
thumbnail?
optional
thumbnail:DiscordEmbedThumbnail
Defined in: packages/types/dist/types/discord.d.ts:567
Thumbnail information
timestamp?
optional
timestamp:string
Defined in: packages/types/dist/types/discord.d.ts:561
Timestamp of embed content
title?
optional
title:string
Defined in: packages/types/dist/types/discord.d.ts:551
Title of embed
type?
optional
type:EmbedTypes
Defined in: packages/types/dist/types/discord.d.ts:553
Type of embed (always "rich" for webhook embeds)
url?
optional
url:string
Defined in: packages/types/dist/types/discord.d.ts:557
Url of embed
video?
optional
video:DiscordEmbedVideo
Defined in: packages/types/dist/types/discord.d.ts:569
Video information