LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

discord-command - Create Discord Slash Commands

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

Tags

Updated: 2026-03-20

Capabilities

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

Source

  • Spec: SKILL.md
discord
discord.js
slash commands
typescript
bot development
create slash command
add subcommand
generate folder structure
write index.ts file
Discord bot project
command name
subcommand list
slash command folder structure
TypeScript command files
database repository files