Embed
- class Embed()
A read-only embed from a received message. All properties are immutable copies of the Discord embed data.
exported from
lib.weeble.dProperties
- Embed.author
type: readonly { iconUrl: string | null; name: string; url: string | null; } | null
Author information, or
nullif not set.
- Embed.fields
type: readonly { inline: boolean; name: string; value: string; }[]
Array of field objects displayed in the embed body.
type: readonly { iconUrl: string | null; text: string; } | null
Footer information, or
nullif not set.
- Embed.image
type: readonly { height: number | null; proxyUrl: string | null; url: string; width: number | null; } | null
Main image, or
nullif not set.
- Embed.thumbnail
type: readonly { height: number | null; proxyUrl: string | null; url: string; width: number | null; } | null
Thumbnail image, or
nullif not set.
- Embed.timestamp
-
ISO-8601 timestamp displayed in the footer, or
nullif not set.