discord.deleteChannel delete a Discord channel or close a private thread.
automations/discord-delete-channel.automation.ts
Inputs
RequiredchannelId; optional audit-log reason. Optional second argument { account } selects the Discord binding.
Output
Returns Discord’s finalDiscordChannel representation.
Discord behavior
RequiresMANAGE_CHANNELS or MANAGE_THREADS. Deleting a channel cannot be undone.