App Logo
discord.com

Delete Discord message

Automatically delete Discord message on discord.com. Deletes a single Discord message by id (e.g. to clean up a message you sent). Requires being logged in as the message's author or having Manage Messages in the channel.

Input

messageId required

ID of the message to delete (from post_message's or read_messages' output).

channelUrl required

Full channel URL, e.g. https://discord.com/channels/<guildId>/<channelId>

Output

deleted required
messageId required

FAQ

Deletes a single Discord message by id (e.g. to clean up a message you sent). Requires being logged in as the message's author or having Manage Messages in the channel.
Ask an AI agent connected to Reduck to run reduck/discord.com/delete_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/discord.com/delete_message
You do not need one. "Delete Discord message" drives the real discord.com pages in a browser, so it works whether or not discord.com offers an API for this.
Required: channelUrl, messageId.
It returns deleted, messageId.
Yes. It acts as you on discord.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the discord.com cookies saved by the Reduck extension.
It makes changes on discord.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/discord.com/delete_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/discord.com/delete_message
It is part of Reduck's official curated catalogue.

Start building not clicking