discord_edit_message
Edit the plain-text content of a message previously sent by the bot. Specify channel, message ID, and new content up to 2000 characters.
Instructions
Edit the text content of a message previously sent by this bot. Discord forbids editing other users' messages, so this fails for non-bot messages. Use discord_edit_embed for embed messages. Works in text channels and threads. Returns the edited message ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID (snowflake) of the channel or thread containing the message. | |
| message_id | Yes | ID of the message to edit. Must be a message authored by this bot. | |
| content | Yes | New plain-text content that fully replaces the existing content (max 2000 characters). |