BuildcordDocs

Create a channel

Add a channel to the server, optionally private to some members and roles.

server.channelCreate adds a channel to the server.

Settings

SettingWhat it does
NameThe channel's name, such as ticket-{user.name}.
TypeText, Voice, Announcement, Forum or Category.
Under categoryThe category to put it in. Leave it empty for none.
Hide it from everyone elseWhen on, only the members and roles below, and the bot, can see the channel.
Members who can see itIDs, mentions or tokens, separated by commas, such as {user.id}.
Roles that can see itRole names or IDs, separated by commas, such as Support.
Audit log reasonThe reason Discord records.

Ways out

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

Notes

  • The bot needs the Manage Channels permission.
  • The canvas shows the kind of channel and its name, for example Private text channel #ticket-sam.

Example

A ticket flow creates a private text channel visible to {user.id} and the Support role, then posts a welcome message in it.

On this page