Discord Tools icon

Discord Tools

Discord utility tools - Message fetching, user info, and more

Overview

This node operation allows editing an existing message in a Discord channel. It is useful for scenarios where you need to update or correct the content of a previously sent message in a Discord server. For example, you might want to fix a typo, update information, or change the message content dynamically based on workflow conditions.

Use Case Examples

  1. Editing a message to correct a typo in a Discord channel.
  2. Updating a message content to reflect new information or status.

Properties

Name Meaning
Guild ID The ID of the Discord server (guild) where the message is located.
Channel ID The ID of the channel containing the message to be edited.
Message ID The ID of the message to edit.
Message Content The new text content to replace the existing message content.
Additional Options Optional parameters that can be used for other operations but are not directly used in the edit operation here.

Output

JSON

  • id - The ID of the edited message.
  • content - The updated content of the message.
  • channelId - The ID of the channel where the message was edited.
  • editedTimestamp - Timestamp when the message was edited.

Dependencies

  • Discord API with bot token authentication

Troubleshooting

  • Ensure the Guild ID and Channel ID are correct and the bot has access to the channel.
  • Verify the Message ID exists in the specified channel and guild.
  • The channel must be a text-based channel; voice or category channels are not supported.
  • Invalid JSON in embed content will cause errors if used (not applicable for edit operation).
  • Bot token must have permissions to read and edit messages in the channel.

Links

Discussion