Discord Bot icon

Discord Bot

Send messages and manage slash commands for Discord bots

Update Message

AI-generated

Summary

Edits an existing Discord message in the selected channel, replacing its content and/or embeds and components. Choose the guild, channel, and message ID, then provide the new message payload using the builder fields or JSON mode.

Inputs

  • Content — Text to set on the message; defaults to an empty string.
  • Guild Names or IDs — Guilds used to load channel choices. You can select listed guilds or provide IDs.
  • Channel Name or ID (required) — Channel containing the message to edit; choose a listed channel or provide its ID.
  • Message ID (required) — ID of the message to edit.
  • Message Payload Mode — Choose Builder, Raw JSON, or Builder + Advanced JSON Merge for embeds and components.
  • Embeds and Components — In builder modes, configure embeds, buttons, string or auto-populated select menus, and layout blocks such as text displays, sections, separators, containers, media galleries, and files. In Raw JSON mode, provide embed and component arrays directly; merge mode appends those JSON arrays to builder output.

Output shape

A single updated message record.

The operation edits the specified message and returns the message data. Builder fields omit empty values; embeds cannot be combined with Discord Components v2 layout blocks. Discord payload and component limits apply.

Links

Discussion