upsert_role_channel_permissions
Create or update a Discord channel permission overwrite for a role, setting allowed and denied permissions by ID or CSV.
Instructions
Create or update channel permission overwrite for a role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason | |
| roleId | Yes | Role ID | |
| denyRaw | No | Denied permissions raw bitfield string | |
| allowRaw | No | Allowed permissions raw bitfield string | |
| channelId | Yes | Channel ID | |
| denyPermissions | No | CSV of denied permission names | |
| allowPermissions | No | CSV of allowed permission names (e.g. ViewChannel,SendMessages) |