Latest
interface EditMessage
import { type EditMessage } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

optional
content: string | null

The new message contents (up to 2000 characters)

optional
embeds: Embed[] | null

Embedded rich content (up to 6000 characters)

optional
flags: 4 | null

Edit the flags of the message (only SUPPRESS_EMBEDS can currently be set/unset)

optional
file: FileContent | FileContent[] | null

The contents of the file being sent/edited

optional
allowedMentions: AllowedMentions

Allowed mentions for the message

optional
attachments: Attachment[]

When specified (adding new attachments), attachments which are not provided in this list will be removed.

optional
components: MessageComponents

The components you would like to have sent in this message