Skip to content

BotMessageOptions

BotMessageOptions = string | { allowedMentions?: AllowedMentions; attachments?: string[]; components?: (ComponentData | { toJSON(): ComponentData; })[]; content?: string; embeds?: (EmbedBuilder | EmbedData)[]; ephemeral?: boolean; flags?: number; mentions?: MentionsInput; }

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

string


{ allowedMentions?: AllowedMentions; attachments?: string[]; components?: (ComponentData | { toJSON(): ComponentData; })[]; content?: string; embeds?: (EmbedBuilder | EmbedData)[]; ephemeral?: boolean; flags?: number; mentions?: MentionsInput; }

optional allowedMentions?: AllowedMentions

As send’s, applied to the content given here: an edit that keeps its text and gives this names nobody, clearing the mentions.

optional attachments?: string[]

optional components?: (ComponentData | { toJSON(): ComponentData; })[]

optional content?: string

optional embeds?: (EmbedBuilder | EmbedData)[]

optional ephemeral?: boolean

optional flags?: number

optional mentions?: MentionsInput

Who it notifies, as send’s. On reply and followUp none when absent; on update and editReply absent keeps the message’s mentions and any set replaces them ({} clears).