discord-command - Create Discord Slash Commands
Generate Discord.js v14 slash commands with folder structure and subcommands
Tags
Updated: 2026-03-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create slash command
- add subcommand
- generate folder structure
- write index.ts file
- write subcommand file
- configure permissions
- create repository file
- create interaction handler
- register handler
- add customId constants
Inputs
- Discord bot project
- command name
- subcommand list
- command description
- permission requirements
Outputs
- slash command folder structure
- TypeScript command files
- database repository files
- interaction handler files
- customIds constants
- updated interactionCreate.ts
Requirements
- Discord.js v14
- TypeScript
- Node.js environment
- Prisma
- Discord bot project structure
