Discord User Tool icon

Discord User Tool

Discord operations for AI Agents. Send/read messages, manage servers, and interact with Discord. Use this when you need to communicate on Discord or get Discord information.

Edit Message

AI-generated

Summary

Edit a message's content in a Discord channel.

Inputs

  • channelId (required) — The Discord channel ID (enable Developer Mode in Discord settings > Advanced)
  • messageId (required) — The ID of the message to edit
  • newContent (required) — The new text content for the message

Output shape

object

Returns the edited message metadata on success. Throws NodeOperationError if the channel or message is not found.

Examples

Example 1: Update an existing announcement message

Provide the channel ID, the message ID of the target message, and the new content string. The node fetches the message and edits it in place, returning the updated content and edit timestamp.

Links

Discussion