Message Edited
Triggers when a message is edited.
NOTE
Message content will be empty without message content intent. Previous message content is available if Message Cache is enabled in bot settings. Does not trigger for bot messages.
This trigger is based on Discord event MessageUpdate.
Inputs
There are no inputs for this trigger.
Outputs
Message Content
The current message content.
Example: Hello! How are you!
Message ID
The ID of the deleted message.
Example: 123456789012345678
Channel ID
The ID of the channel that the message was deleted in.
Example: 123456789012345678
Author ID
The ID of the user that sent the edited message.
Example: 123456789012345678
Server ID
The ID of the server that the message was edited in.
Example: 123456789012345678
User Mentions
A list of user mentions in the edited message.
Example: <@123456789012345678>,<@123456789012345678>
Role Mentions
A list of role mentions in the edited message.
Example: <@&123456789012345678>,<@&123456789012345678>
Message Sent At (Unix)
The Unix timestamp for when the message was first sent.
Example: 1731886315
Message Edited At (Unix)
The Unix timestamp for when the message was edited.
Example: 1731886315
Previous Message Content
The content of the message before it was edited.
WARNING
You must have the message cache enabled for this value to be populated. Is blank if message is not found in message cache
Example: Hello!
Message Cache Hit
Whether this message was found in the message cache.
Example: true
or false