discord_set_channel_permission
Set or replace a Discord role or member's channel permission overwrite by defining allow and deny lists; unlisted permissions inherit access. Requires Manage Roles.
Instructions
Set (replace) the permission overwrite for a role or member on a channel. Permissions in neither allow nor deny inherit. Needs Manage Roles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | Permission names | |
| allow | No | Permission names | |
| target_id | Yes | Role ID or user ID (the @everyone role ID equals the server ID) | |
| channel_id | Yes | Channel ID (a thread ID also works) | |
| target_type | Yes |