What problem does it solve?
Building Discord bots often requires referencing scattered official API documentation and framework-specific guides, leading to inconsistent implementations, missed API constraints, and bugs from incorrect usage of interaction responses, component limits, or permission settings. This skill consolidates all necessary reference material and code patterns into a single, easy-to-access resource for Discord bot developers.
Core Features & Use Cases
- Comprehensive API Reference: Includes detailed specifications for all core Discord API features including slash commands, interactive components (buttons, select menus, modals), webhooks, embeds, and interaction handling, with exact field limits, constraints, and endpoint documentation.
- Framework-Specific Implementation Guides: Provides ready-to-use code patterns and best practices for the two most popular Discord bot libraries, discord.py (Python) and discord.js (TypeScript/JavaScript), covering command registration, component callbacks, webhook management, and error handling.
- Real-World Use Case: For example, if you are building a community moderation bot that uses slash commands for user management, confirmation buttons for sensitive actions, and webhooks for audit logging, this skill gives you the exact implementation details to avoid common pitfalls like interaction timeout errors or exceeding component limits.
Quick Start
Use the discord skill to implement a slash command that sends an ephemeral embed with a confirmation button when a user runs /report.