Skip to Content
BuildcordDocs

Copy a channel

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

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

Settings

SettingWhat it does
Channel or categoryThe one to copy.
NameThe copy's name. Leave it empty to keep the original's. For a category, the channels inside keep their names.
Audit log reasonThe reason Discord records.

Ways out

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

Produces

TokenValue
{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.

Was this page helpful?