App Logo
discord.com

delete_channel

Delete a Discord channel by its id — text, voice, announcement, stage or forum. Requires the Manage Channels permission in that server. This cannot be undone: the channel and all of its message history are removed. Category ids are refused. The script makes sure it is deleting exactly the channel you asked for; pass expectedName to also require that the channel has that name. Returns whether Discord confirmed the deletion and the name of the channel removed.

Input

guildId required

Server id the channel belongs to, e.g. from discord.com/list_servers.

channelId required

Id of the channel to delete, e.g. from discord.com/list_channels or create_channel's channelId. Must be a channel, not a category — a category id is refused.

expectedName optional

Optional safety check: the channel's name as shown in Discord (from discord.com/list_channels). When given, nothing is deleted unless the channel at channelId has exactly this name.

Output

name required

The name of the channel that was deleted, as a receipt of what was removed.

deleted required

True only when Discord confirmed the deletion.

guildId required
channelId required
verified_gone required

Whether the channel was also confirmed gone from the server's channel list afterwards.

FAQ

Delete a Discord channel by its id — text, voice, announcement, stage or forum. Requires the Manage Channels permission in that server. This cannot be undone: the channel and all of its message history are removed. Category ids are refused. The script makes sure it is deleting exactly the channel you asked for; pass expectedName to also require that the channel has that name. Returns whether Discord confirmed the deletion and the name of the channel removed.
Required: guildId, channelId. Optional: expectedName.
It returns name, deleted, guildId, channelId, verified_gone.
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_channel, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/discord.com/delete_channel
It is part of Reduck's official curated catalogue.

Start building not clicking