discord-bot-architect
Specialized skill for building production-ready Discord bots. Covers Discord.js (JavaScript) and Pycord (Python), gateway intents, slash commands, interactive components, rate limiting, and sharding.
npx skills add sickn33/agentic-awesome-skills --skill discord-bot-architect --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Specialized skill for building production-ready Discord bots, covering both JavaScript (Discord.js v14 foundation) and Python (Pycord) foundations, with guidance on gateway intents, slash commands, interactive components, rate limiting, and sharding. It prescribes structured patterns for command loading, event handling, and command deployment, and includes examples for commands, events, deploy scripts, and a Pycord equivalent. It emphasizes slash commands over message parsing, quick interaction acknowledgments, and planning for sharding from 2500+ guilds.
How it works
- Discord.js v14 foundation: shows creating a client with minimal intents, loading commands and events from file paths, and registering commands via a deploy script.
- Commands and events: examples include a ping command, an interactionCreate handler, and a deploy-commands script to refresh application commands (global by default).
- Interactive components: demonstrates buttons, select menus, modals, and their wiring in both JavaScript and Python variants, including how to show modals and handle modal submissions.
- Pycord foundation: provides a Python setup with intents, slash commands, and cog loading, plus an info command and a welcome handler example.
- Structure guidance: outlines folder layout for a Discord bot project in both JS and Python forms.
- Limits and patterns: lists UI/component limits (action rows, buttons, selects, options) and a deferred response pattern for long-running tasks.
When to use it
- Triggered when building Discord bots with JavaScript/TypeScript using Discord.js or Python using Pycord; applicable for projects requiring full gateway connection with events, slash command UX, and interactive components; recommended when planning sharding from large guild counts.
What it can touch
- File-based project structure and code blocks show how to organize:
- src/index.js, src/deploy-commands.js, src/commands/, src/events/
- Python main.py, cogs/general.py, and bot setup for Pycord
- Tools referenced: "discord.js" v14 components, various Discord.js builders, and Pycord equivalents. The skill includes code samples for loading commands, deploying commands, and handling interactions.
Caveats
- Risk is declared as critical.
- Sections assume compliance with environment setup (env vars like DISCORD_TOKEN, CLIENT_ID, etc.) and correct package imports.
- Script behavior describes updating global or guild commands; global propagation can take up to an hour.
# Discord Bot Architect Specialized skill for building production-ready Discord bots. Covers Discord.js (JavaScript) and Pycord (Python), gateway intents, slash commands, interactive components, rate limiting, and sharding. ## Principles - Slash commands over message parsing (Message Content Intent deprecated) - Acknowledge interactions within 3 seconds, always - Request only required intents (minimize privileged intents) - Handle rate limits gracefully with exponential backoff - Plan for sharding from the start (required at 2500+ guilds) - Use components (buttons, selects, modals) for rich UX - Test with guild commands first, deploy global when ready ## Patterns ### Discord.js v14 Foundation Modern Discord bot setup with Discord.js v14 and slash commands **When to use**: Building Discord bots with JavaScript/TypeScript,Need full gateway connection with events,Building bots with complex interactions ```javascript // src/index.js const { Client, Collection, GatewayIntentBits, Events } = require('discord.js'); const fs = require('node:fs'); const path = require('node:path'); require('dotenv').config(); // Create client with minimal required intents const client = new Client({ intents
- Principles
- Patterns
- Discord.js v14 Foundation
- Structure
- Pycord Bot Foundation
- Interactive Components Pattern
- Limits
- Deferred Response Pattern
- Timing
- Embed Builder Pattern
- Rate Limit Handling Pattern
- Ratelimits
- Sharding Pattern
- Scalingguide
What does the discord-bot-architect skill do?
Specialized skill for building production-ready Discord bots. Covers Discord.js (JavaScript) and Pycord (Python), gateway intents, slash commands, interactive components, rate limiting, and sharding.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill discord-bot-architect --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.