discord.com
delete_channel
Input
guildId requiredServer id the channel belongs to, e.g. from discord.com/list_servers.
channelId requiredId 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 optionalOptional 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 requiredThe name of the channel that was deleted, as a receipt of what was removed.
deleted requiredTrue only when Discord confirmed the deletion.
guildId requiredchannelId requiredverified_gone requiredWhether the channel was also confirmed gone from the server's channel list afterwards.
