discord_copy_permissions
Copy permission overwrites from a source channel to a target channel, replacing the target's existing overwrites. Requires Manage Roles permission.
Instructions
Replace the target channel's permission overwrites with a copy of the source channel's. The target's existing overwrites are overwritten. Requires the Manage Roles permission. Returns a confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_channel_id | Yes | ID (snowflake) of the channel to copy overwrites from. | |
| target_channel_id | Yes | ID (snowflake) of the channel whose overwrites will be replaced. | |
| reason | No | Optional reason recorded in the server audit log. |