# Edit a channel

> Rename, move or change a channel's settings.

Source: https://docs.buildcord.dev/nodes/server/edit-channel/

`server.channelEdit` changes a channel. Anything left empty stays as it is.

## Settings

| Setting | What it does |
| --- | --- |
| Channel or category | The channel, or the category, to change. |
| New name | The new name. |
| New topic | The new topic. |
| Move to category | The category to move it under. `none` takes it out of its category. |
| Position | Where it sits in the list, from 0 at the top. |
| Slowmode | How long members wait between messages: off, 5 seconds, 30 seconds, 1 minute, 5 minutes, 1 hour, or any length up to 6 hours. |
| Age-restricted | On or off. |
| Voice user limit | For a voice channel: how many can be in it, 0 for no limit. |
| Audit log reason | The reason Discord records. |

## Ways out

`out`. Turn on **If it fails** for a red way out.

## Notes

- The bot needs the Manage Channels permission.
- Discord limits how often a channel can be renamed, so don't run this in a tight loop.
- To change who can see or post in the channel, use [Change channel permissions](https://docs.buildcord.dev/nodes/server/channel-permissions).

## Example

When a ticket is closed, move its channel to an **Archive** category and turn on a long slowmode.

## Related

- [Create a channel](https://docs.buildcord.dev/nodes/server/create-channel)
- [Change channel permissions](https://docs.buildcord.dev/nodes/server/channel-permissions)
- [Delete a channel](https://docs.buildcord.dev/nodes/server/delete-channel)
