Skip to content

Defined in: zaun/js/index.d.ts:538

An embed on a message, as received. Pictures are the message’s attachments (null when the message object does not have them, as on an edit’s event; data has their ids).

new Embed(): Embed

Embed

readonly author: object

Defined in: zaun/js/index.d.ts:548

icon: Attachment

name: string

url: string


readonly color: number

Defined in: zaun/js/index.d.ts:544


readonly data: EmbedData

Defined in: zaun/js/index.d.ts:540


readonly description: string

Defined in: zaun/js/index.d.ts:542


readonly fields: object[]

Defined in: zaun/js/index.d.ts:547

inline: boolean

name: string

value: string


readonly footer: object

Defined in: zaun/js/index.d.ts:549

icon: Attachment

text: string


readonly hexColor: string

Defined in: zaun/js/index.d.ts:545


readonly image: Attachment

Defined in: zaun/js/index.d.ts:550


readonly message: Message

Defined in: zaun/js/index.d.ts:539


readonly thumbnail: Attachment

Defined in: zaun/js/index.d.ts:551


readonly timestamp: Date

Defined in: zaun/js/index.d.ts:546


readonly title: string

Defined in: zaun/js/index.d.ts:541


readonly url: string

Defined in: zaun/js/index.d.ts:543

toJSON(): EmbedData

Defined in: zaun/js/index.d.ts:552

EmbedData