Discord Action (Lisboa) icon

Discord Action (Lisboa)

Send messages, manage channels, and create events via Discord API v10

Delete Message

AI-generated

Summary

Delete a Discord message by sending a DELETE request for the specified channel and message IDs. Requires Discord bot API credentials; on success, returns a confirmation with the deleted message and channel IDs.

Inputs

  • Channel ID (required) — ID of the Discord channel containing the message.
  • Message ID (required) — ID of the message to delete.

Output shape

A single item containing a JSON object

On success, the object has deleted: true, messageId, and channelId. If the request fails and Continue On Fail is enabled, the item contains an error message instead; otherwise the error is thrown.

Links

Discussion