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
Union Members
Section titled “Union Members”string
Type Literal
Section titled “Type Literal”{ allowedMentions?: AllowedMentions; attachments?: string[]; components?: (ComponentData | { toJSON(): ComponentData; })[]; content?: string; embeds?: (EmbedBuilder | EmbedData)[]; ephemeral?: boolean; flags?: number; mentions?: MentionsInput; }
allowedMentions?
Section titled “allowedMentions?”
optionalallowedMentions?:AllowedMentions
As send’s, applied to the content given here: an edit that keeps its text and
gives this names nobody, clearing the mentions.
attachments?
Section titled “attachments?”
optionalattachments?:string[]
components?
Section titled “components?”
optionalcomponents?: (ComponentData| {toJSON():ComponentData; })[]
content?
Section titled “content?”
optionalcontent?:string
embeds?
Section titled “embeds?”
optionalembeds?: (EmbedBuilder|EmbedData)[]
ephemeral?
Section titled “ephemeral?”
optionalephemeral?:boolean
flags?
Section titled “flags?”
optionalflags?:number
mentions?
Section titled “mentions?”
optionalmentions?: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).