원클릭으로
discord-create-channel
Create new channels in Discord guilds/servers via the Discord API. Use this skill when the user wants to create text channels, voice channels, announcement channels, or categories in a Discord server.
메뉴
Create new channels in Discord guilds/servers via the Discord API. Use this skill when the user wants to create text channels, voice channels, announcement channels, or categories in a Discord server.
Retrieve messages from Discord channels via the Discord API. Use this skill when the user wants to read, search, or analyze messages from a Discord channel.
List all channels in a Discord guild/server via the Discord API. Use this skill when the user wants to see all channels, find specific channels, or audit server structure.
Manage and update Discord channels via the Discord API. Use this skill when the user wants to modify channel properties, update names/topics, change permissions, or delete channels.
Send messages to Discord channels via the Discord API. Use this skill when the user wants to send text messages, notifications, or formatted content to a Discord channel.
| name | discord-create-channel |
| description | Create new channels in Discord guilds/servers via the Discord API. Use this skill when the user wants to create text channels, voice channels, announcement channels, or categories in a Discord server. |
Create new channels in Discord guilds (servers) using the Discord API v10. This skill supports creating text channels, voice channels, announcement channels, stage channels, and categories.
Use this skill when the user wants to:
DISCORD_BOT_TOKEN environment variable must be setDiscord supports the following channel types (use numeric value):
| Type | Value | Description |
|---|---|---|
| GUILD_TEXT | 0 | Text channel |
| GUILD_VOICE | 2 | Voice channel |
| GUILD_CATEGORY | 4 | Category (organizes channels) |
| GUILD_ANNOUNCEMENT | 5 | Announcement channel (one-way communication) |
| GUILD_STAGE_VOICE | 13 | Stage channel (audio events) |
When the user requests to create a Discord channel:
Validate Requirements
DISCORD_BOT_TOKEN is set in environmentPrepare Channel Properties
name: Channel name (required, 2-100 chars)type: Channel type (0=text, 2=voice, 4=category, 5=announcement, 13=stage)topic: Channel topic/description (optional, max 1024 chars for text channels)parent_id: Category ID to place channel in (optional)nsfw: Whether channel is NSFW (optional, default false)position: Sort position (optional)permission_overwrites: Permission overrides (optional, array)Make the API Request Use the following curl command structure:
curl -X POST "https://discord.com/api/v10/guilds/{GUILD_ID}/channels" \
-H "Authorization: Bot ${DISCORD_BOT_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"name": "channel-name",
"type": 0
}'
Replace:
{GUILD_ID} with the actual guild ID"channel-name" with the desired channel name0 with the appropriate channel typeHandle Response
Report Results
Discord channel names must follow these rules:
Valid names:
generalgeneral-chatvoice-room-1announcementsInvalid names:
General Chat (has spaces and capital letters)chat! (has special character)a (too short)café (has accented character){
"name": "general-chat",
"type": 0,
"topic": "General discussion for all members"
}
{
"name": "voice-lounge",
"type": 2,
"user_limit": 10
}
{
"name": "Community",
"type": 4
}
{
"name": "server-updates",
"type": 5,
"topic": "Official server announcements"
}
{
"name": "community-stage",
"type": 13
}
To place a new channel in an existing category:
{
"name": "new-channel",
"type": 0,
"parent_id": "123456789012345678"
}
The parent_id is the ID of the category channel.
To set custom permissions when creating a channel:
{
"name": "private-channel",
"type": 0,
"permission_overwrites": [
{
"id": "role_id_here",
"type": 0,
"allow": "1024",
"deny": "0"
}
]
}
Permission types:
type: 0 = Roletype: 1 = MemberCommon permission values:
1024 = View Channel2048 = Send Messages8192 = Read Message History65536 = Mention Everyone400 Bad Request - Invalid Name
{
"code": 50035,
"errors": {
"name": {
"_errors": [
{
"code": "BASE_TYPE_BAD_LENGTH",
"message": "Must be between 2 and 100 in length."
}
]
}
}
}
Solution: Ensure channel name is 2-100 characters and follows naming rules
403 Forbidden - Missing Permissions
{
"code": 50013,
"message": "Missing Permissions"
}
Solution: Bot needs "Manage Channels" permission in the server
404 Not Found - Invalid Guild
{
"code": 10004,
"message": "Unknown Guild"
}
Solution: Verify guild ID is correct and bot is member of the server
400 Bad Request - Invalid Category
{
"code": 50035,
"message": "Invalid parent_id"
}
Solution: Ensure parent_id is a valid category channel ID in the same guild
Successful channel creation returns:
{
"id": "987654321098765432",
"type": 0,
"guild_id": "123456789012345678",
"position": 0,
"permission_overwrites": [],
"name": "new-channel",
"topic": null,
"nsfw": false,
"last_message_id": null,
"parent_id": null
}
Naming Conventions
Organization
Channel Limits
Permissions
Voice Channels
See examples.md for detailed usage scenarios.
POST /guilds/{guild.id}/channels