Create channel
create_channelCreate a text, voice, forum, stage, announcement, or category channel, optionally inside a category, and optionally private or read-only from the start.
Instructions
Create a text, voice, forum, stage, announcement, or category channel, optionally inside a category, and optionally private or read-only from the start. private_to, read_only and posting_roles compile to permission overwrites and are applied in the same call, so a private channel is one request rather than a create followed by set_channel_permissions. Use set_channel_permissions for anything finer. Supports dry_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Channel name. | |
| nsfw | No | ||
| type | No | Channel type. Default text. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| topic | No | Channel topic, for text-like channels. | |
| dry_run | No | Preview without creating. | |
| category | No | Category name or ID to place the channel under. | |
| read_only | No | Deny sending to everyone, for rules and announcement channels. | |
| private_to | No | Role names that can see the channel. Everyone else is denied View Channel, and Connect too on voice, stage and category. Do not list @everyone. | |
| posting_roles | No | Role names that may still post when read_only is set. Has no effect on its own. | |
| slowmode_seconds | No | Per-user message cooldown. |