discord-create-channel
Skill16 starsChanged 14 months agoMITView on GitHub
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.
- Sends data out
1 other project uses a version of this.
Adopted by
Most recently taken up by
- evolution-foundation/evo-nexusword for word, first seen Apr 20, 2026
Other versions1 project uses a version of this.
Word for word · 1
- evolution-foundation/evo-nexus★ 544100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 28 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈28
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create new channels in Discord guilds (servers) using the Discord API v10.
- Distinctive: line 12
Use this skill when the user wants to:
- Distinctive: line 13
Create a new text channel in a Discord server
- Distinctive: line 14
Create a new voice channel for meetings or discussions
- Distinctive: line 15
Create an announcement channel for server updates
- Distinctive: line 16
Create a category to organize channels
- Distinctive: line 18
Create a stage channel for large audio events
- Distinctive: line 41
When the user requests to create a Discord channel:
- Distinctive: line 45
Verify guild ID is provided (18-19 digit number)
- Distinctive: line 46
Ensure channel name is valid (2-100 characters, lowercase, hyphens/underscores only)
- Distinctive: line 59
Use the following curl command structure:
- Distinctive: line 87
If error occurs, explain the issue clearly
- Distinctive: line 94
No spaces (use hyphens instead)
- Distinctive: line 95
No special characters or emojis
- Distinctive: line 217
Solution: Ensure channel name is 2-100 characters and follows naming rules
- Distinctive: line 235
Solution: Verify guild ID is correct and bot is member of the server
- Distinctive: line 244
Solution: Ensure parent_id is a valid category channel ID in the same guild
- Distinctive: line 267
Use descriptive, lowercase names
- Distinctive: line 268
Use hyphens to separate words
- Distinctive: line 269
Keep names concise but clear
- Distinctive: line 272
Create categories first, then channels within them
- Distinctive: line 273
Use consistent naming across similar channels
- Distinctive: line 278
Consider channel count before creating new ones
- Distinctive: line 283
Use role-based permissions over member-specific
- Distinctive: line 288
Consider bitrate for quality
- Distinctive: line 289
Use stage channels for large events
- Distinctive: line 294
Don't create channels programmatically without user confirmation
- Distinctive: line 296
Follow Discord's automation guidelines
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Discord Create Channel
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.
When to Use This Skill
Use this skill when the user wants to:
- Create a new text channel in a Discord server
- Create a new voice channel for meetings or discussions
- Create an announcement channel for server updates
- Create a category to organize channels
- Set up a new channel with specific permissions
- Create a stage channel for large audio events
Prerequisites
DISCORD_BOT_TOKENenvironment variable must be set- Bot must be a member of the target server
- Bot must have "Manage Channels" permission in the server
- Valid Discord guild ID (18-19 digit snowflake ID)
Channel Types
Discord 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) |
Instructions
When the user requests to create a Discord channel:
- Validate Requirements
- Confirm
DISCORD_BOT_TOKENis set in environment - Verify guild ID is provided (18-19 digit number)
- Ensure channel name is valid (2-100 characters, lowercase, hyphens/underscores only)
- Determine channel type (default to text channel if not specified)
- Confirm
- Prepare 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 name0with the appropriate channel type
- Handle Response
- 201 Created: Channel created successfully, return channel ID
- 400 Bad Request: Invalid channel name or parameters
- 401 Unauthorized: Invalid bot token
- 403 Forbidden: Missing "Manage Channels" permission
- 404 Not Found: Guild doesn't exist or bot not in server
- Report Results
- Confirm channel was created successfully
- Provide the channel ID for reference
- Include channel URL for easy access
- If error occurs, explain the issue clearly
Channel Name Validation
Discord channel names must follow these rules:
- 2-100 characters in length
- Lowercase letters, numbers, hyphens, and underscores only
- No spaces (use hyphens instead)
- No special characters or emojis
Valid names:
generalgeneral-chatvoice-room-1announcements
Invalid names:
General Chat(has spaces and capital letters)chat!(has special character)a(too short)café(has accented character)
Creating Different Channel Types
Text Channel (Type 0)
{
"name": "general-chat",
"type": 0,
"topic": "General discussion for all members"
}Voice Channel (Type 2)
{
"name": "voice-lounge",
"type": 2,
"user_limit": 10
}Category (Type 4)
{
"name": "Community",
"type": 4
}Announcement Channel (Type 5)
{
"name": "server-updates",
"type": 5,
"topic": "Official server announcements"
}Stage Channel (Type 13)
{
"name": "community-stage",
"type": 13
}Setting Channel in Category
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.
Channel Permissions
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= Member
Common permission values:
1024= View Channel2048= Send Messages8192= Read Message History65536= Mention Everyone
Error Handling
Common Errors
400 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
Response Object
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
}Best Practices
- Naming Conventions
- Use descriptive, lowercase names
- Use hyphens to separate words
- Keep names concise but clear
- Organization
- Create categories first, then channels within them
- Use consistent naming across similar channels
- Set appropriate permissions from the start
- Channel Limits
- Discord servers have a limit of 500 channels
- Consider channel count before creating new ones
- Archive or delete unused channels
- Permissions
- Set permissions during creation when possible
- Use role-based permissions over member-specific
- Inherit category permissions when appropriate
- Voice Channels
- Set reasonable user limits
- Consider bitrate for quality
- Use stage channels for large events
Security Notes
- Validate guild ID belongs to expected server
- Don't create channels programmatically without user confirmation
- Be cautious with permission overwrites
- Follow Discord's automation guidelines
Examples
See examples.md for detailed usage scenarios.
API Reference
- Endpoint:
POST /guilds/{guild.id}/channels - Discord API Version: v10
- Documentation: https://discord.com/developers/docs/resources/guild#create-guild-channel
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

