EditMessageOptions

interface EditMessageOptions

Message fields accepted when editing an existing message.

exported from lib.weeble.d

Properties

Property

Type

Description

allowedMentions?

AllowedMentions

Mention parsing rules for this message.

attachments?

AttachmentEdit[]

Existing attachments to keep or include.

components?

Component[]

Components to include with the message.

content?

string

Message content.

embeds?

EmbedLike[]

Embeds to include with the message.

files?

AttachmentInput[]

New files to upload.

flags?

number

Discord bitfield flags. Once a message uses IS_COMPONENTS_V2 , that flag cannot be removed, and Discord rejects edits that add content or embeds .