create-command

Create and integrate Discord bot message and slash commands.

13|5|Updated Apr 6, 2023
One-click install
npx skills add https://github.com/ewei068/pokestar --skill create-command-ewei068
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-command
Source: https://github.com/ewei068/pokestar/tree/main/.cursor/skills/create-command
Command: npx skills add https://github.com/ewei068/pokestar --skill create-command-ewei068

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding new commands to a Discord bot, ensuring consistency and proper configuration.

Core Features & Use Cases

  • Command Implementation: Guides you through adding both message-based and slash commands.
  • Configuration Management: Details how to update command definitions, arguments, and categories.
  • Use Case: You need to add a new /ban command to your moderation bot. This Skill will walk you through defining the command, its arguments (like user and reason), and where to place the code.

Quick Start

Follow the steps in SKILL.md to add a new command named 'greet' to the 'utility' category.

Frequently Asked Questions about create-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new slash command to my Discord bot?

To add a new Discord slash command, you define its configuration, arguments, and category within a specific file structure. This process ensures seamless integration and proper configuration management for both slash and message commands.

What is the best way to structure Discord bot commands with arguments and subcommands?

The best way to structure Discord bot commands is by adhering to specific file structures and configuration formats that separate command definitions, arguments, categories, and subcommands. This approach streamlines creation and maintains consistency across your bot.

Can I use this approach to add both message and slash commands to my Discord bot?

Yes, this approach supports the creation and integration of both message-based and slash commands. It guides you through defining the necessary command configurations and arguments required for both command implementations within your bot's structure.

How do I configure a new moderation command like ban with user and reason arguments?

To configure a moderation command like ban, you define the command alongside its specific arguments, such as user and reason, within the bot's structure. This involves updating command definitions and categories to ensure proper integration and functionality.

Why does my new Discord command not integrate properly with the existing bot structure?

Your new Discord command may not integrate properly if it fails to adhere to the required specific file structures and configuration formats. Proper command configuration, including arguments and categories, is essential for seamless integration within the bot.