LogoClawIndex
CasesSkillsAbout
LogoClawIndex

discord-command - Create Discord Slash Commands

Generate Discord.js v14 slash commands with folder structure and subcommands

Tags

Updated: 2026-03-20
discorddiscord.jsslash commandstypescriptbot development

Capabilities

create slash commandadd subcommandgenerate folder structurewrite index.ts file

Typical Inputs

Discord bot projectcommand namesubcommand list

Typical Outputs

slash command folder structureTypeScript command filesdatabase repository files

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.