Skip to content

MessageOptions

MessageOptions = string | EmbedBuilder | { allowedMentions?: AllowedMentions; content?: string; embeds?: (EmbedBuilder | EmbedData)[]; files?: (FileToSend | Blob)[]; mentions?: MentionsInput; reply?: Message | string; }

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

Text, an embed, or a whole message. Content may be empty beside embeds or files; files and embed pictures are 10 at most in all.

string


EmbedBuilder


{ allowedMentions?: AllowedMentions; content?: string; embeds?: (EmbedBuilder | EmbedData)[]; files?: (FileToSend | Blob)[]; mentions?: MentionsInput; reply?: Message | string; }

optional allowedMentions?: AllowedMentions

other libraries’s: lets the mentions the content shows notify, all of a kind (parse) or these ids only (users, roles).

optional content?: string

optional embeds?: (EmbedBuilder | EmbedData)[]

optional files?: (FileToSend | Blob)[]

optional mentions?: MentionsInput

Who it notifies (each once; ≤ 50 members, ≤ 20 roles). The content only shows mentions (userMention, roleMention); nothing in it notifies on its own.

optional reply?: Message | string