discord.deleteChannelPermission removes one role or member permission overwrite.
automations/discord-delete-channel-permission.automation.ts
Inputs
RequiredchannelId and overwriteId; the overwrite ID is the affected role or user ID. Optional reason populates the server audit log. Optional second argument { account } selects the Discord binding.
Output
Returns nothing after Discord deletes the overwrite.Discord behavior
RequiresMANAGE_ROLES. Deleting the overwrite restores inherited channel permissions.