discord_edit_channel
Rename, retopic, move, or set slowmode on a Discord channel, and archive or lock threads by updating only specified fields. Requires Manage Channels or Manage Threads permissions.
Instructions
Rename, retopic, move, set slowmode on a channel — or archive/lock a thread.
Only the fields you pass are changed. Needs Manage Channels (Manage Threads for threads).
Returns: Confirmation listing the fields changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nsfw | No | ||
| topic | No | ||
| locked | No | Threads only: lock so only moderators can unarchive. | |
| reason | No | Reason recorded in the server's audit log. | |
| archived | No | Threads only: archive (true) or unarchive (false). | |
| position | No | Sort position within its category. | |
| parent_id | No | Move under this category. | |
| channel_id | Yes | Channel or thread ID. | |
| slowmode_seconds | No | Per-user message cooldown; 0 disables. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |