Actions › Messages
Delete Message
Deletes a message
- 1 credit
- Outputs: Success, Failure
- Never undone after a test
Fields
What you set in Properties. The grey name is the one in the Blueprint's JSON.
| Field | What it does | |
|---|---|---|
Channel channelId | The channel this action applies to | required |
Message ID messageId | ID of the message to delete | required |
Reason reason | optional |
What it passes on
This node writes no extra fields beyond the standard ones.
When it fails
The Failure output receives success (false) and error: error.code, error.message in the server's language, and error.detail, what Discord said. The possible causes are in Errors.
Discord permissions
View Channels, Manage Messages, Read Message History
What each one allows, and how to grant one later: Bot permissions.