# Copy a channel

> Make a copy of a channel or a whole category, with its settings and who can see it.

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

`server.channelCopy` makes a copy of a channel next to the original. Copy a category and every channel in it is copied too.

## Settings

| Setting | What it does |
| --- | --- |
| Channel or category | The one to copy. |
| Name | The copy's name. Leave it empty to keep the original's. For a category, the channels inside keep their names. |
| Audit log reason | The reason Discord records. |

## Ways out

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

## Produces

| Token | Value |
| --- | --- |
| `{created.channel}` | The copy's ID |
| `{created.channel.mention}` | A link to the copy |

## Notes

- The copy has the original's permissions, topic, slowmode, age restriction, and voice and forum settings.
- Messages, threads, pins and webhooks aren't copied.
- The bot needs the Manage Channels and Manage Roles permissions. It can only copy permissions it has itself.
- If one of a category's channels can't be copied, the step stops there. The ones copied so far stay, and `{error.message}` says how far it got.

## Example

A `/new-class` command copies the **Year 9** category as `{option.name}`, so each class gets the same channels and the same roles can see them.

## Related

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