Set channel permissions
set_channel_permissionsSet explicit permission overrides on a Discord channel for a specific role or member, defining which permissions to allow or deny.
Instructions
Set a permission overwrite on a channel for one role or member: which permissions are explicitly allowed and which are denied. Permission names like manage_messages or send_messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| target | Yes | Role or member name or ID. | |
| allow | No | Permissions to allow. | |
| deny | No | Permissions to deny. |