set_channel_permission
Configure channel permissions for specific roles or members in Discord servers. Manage access controls by setting allow and deny permissions on individual channels.
Instructions
Set permission overwrite for a role or member on a channel
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes | The ID of the server (guild) | |
| channelId | Yes | The ID of the channel | |
| targetId | Yes | The ID of the role or member | |
| targetType | Yes | Whether the target is a role or member | |
| allow | No | Array of permission names to allow | |
| deny | No | Array of permission names to deny | |
| reason | No | Reason for the change |