edit_channel
Edit an existing Discord channel by updating its name, topic, position, slowmode, voice settings, and permission overwrites. Overwrites are merged by default to grant specific access without exposing the channel.
Instructions
Edits an existing channel. permissionOverwrites are MERGED by target by default (overwrites for the given roles/users are added or replaced; overwrites for other targets are left untouched) so you can grant one role access without exposing the channel. Set replaceAllOverwrites:true to replace the entire overwrite set instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the channel | |
| nsfw | No | Whether the channel is age-restricted | |
| topic | No | New topic (text channels only) | |
| bitrate | No | Bitrate for voice channels (8000-384000) | |
| guildId | No | Guild ID or name. Defaults to the currently selected guild. | |
| position | No | Position in the channel list | |
| slowmode | No | Slowmode in seconds (0-21600) | |
| channelId | Yes | ID of the channel to edit | |
| userLimit | No | User limit for voice channels (0-99) | |
| categoryId | No | Category ID to move this channel to (null to remove from category) | |
| permissionOverwrites | No | Permission overwrites to apply. Merged by target unless replaceAllOverwrites is true. | |
| replaceAllOverwrites | No | If true, replace the channel's entire overwrite set instead of merging by target. |