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
| Setting | What it does |
|---|---|
| Name | The channel's name, such as ticket-{user.name}. |
| Type | Text, Voice, Announcement, Forum or Category. |
| Under category | The category to put it in. Leave it empty for none. |
| Hide it from everyone else | When on, only the members and roles below, and the bot, can see the channel. |
| Members who can see it | IDs, mentions or tokens, separated by commas, such as {user.id}. |
| Roles that can see it | Role names or IDs, separated by commas, such as Support. |
| 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.
- 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.