Discord Bot Architect
Production-ready Discord bot scaffolding in Discord.js v14 and Pycord, with privileged-intent and command-sync guardrails.
- CCM score
- 64 of 100
- skills.sh installs
- 342
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers bot setup in Discord.js v14 (JavaScript) and Pycord (Python), including file-based command and event loading
- Includes slash commands with options, interactive buttons, select menus, and modals, plus gateway intent configuration
- Enforces minimal intents, avoids the privileged Message Content intent, and warns against syncing commands on every start
- Designed for developers building production Discord bots who need rate limiting and sharding guidance
Install
$ npx -y skills add davila7/claude-code-templates --skill discord-bot-architect -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Discord Bot Architect
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: [
GatewayIntentBits.Guilds,
// Add only what you need:
// GatewayIntentBits.GuildMessages,
// GatewayIntentBits.MessageContent, // PRIVILEGED - avoid if possible
]
});
// Load commands
client.commands = new Collection();
const commandsPath = path.join(__dirname, 'commands');
const commandFiles = fs.readdirSync(commandsPath).filter(f => f.endsWith('.js'));
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Email & Messaging, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the discord-bot-architect skill do?
discord-bot-architect helps an agent build production-ready Discord bots. It covers Discord.js in JavaScript and Pycord in Python, including gateway intents, slash commands, interactive components, rate limiting, and sharding.
How do I install the discord-bot-architect skill?
Run npx -y skills add davila7/claude-code-templates --skill discord-bot-architect -y in your project. Once installed, discord-bot-architect gives the agent patterns for building Discord bots with slash commands and buttons.
Which Discord libraries does discord-bot-architect support?
discord-bot-architect covers Discord.js v14 for JavaScript and Pycord for Python. Its patterns include slash commands, buttons, select menus, and modals for both languages.
Does discord-bot-architect explain how to avoid rate limits and handle sharding?
Yes, discord-bot-architect covers rate limiting and sharding alongside gateway intents. Its anti-patterns also warn against syncing commands on every start, since command registration is rate limited.
More from davila7/claude-code-templates
All 398- Launch Strategy342
- Bullmq Specialist338
- Stable Baselines3338
- Crewai337
- Nemo Curator336
- Railway Deploy335
- Aws Serverless334
- Lint And Validate334
- Move Code Quality333
- Zapier Workflows331
- Scikit Survival329
- Alphafold Database326
- Llm App Patterns326
- Pyhealth326
- Gh Fix Ci325
- Scanpy325
- Biomni321
- Uspto Database318
- Mdr 745 Specialist315
- Create Pr314
- Pentest Checklist314
- Roier Seo314
- Fda Database313
- Astropy312
Similar to Discord Bot Architect
More Email & MessagingDiscordMCP serversaseq627 starsDiscord server access for reading, sending, and managing channels, roles, and members through a bot token.
BuildcordMCP serverbuildcord-devBuild and change Discord bots through flows, embeds, modals, and stored data.
discord-botSkillclaude-office-skills/skills5.6K installsDiscord bot development toolkit covering moderation automation, welcome and role systems, notifications, and AI chat features.
telegram-bot-builderSkilldavila7/claude-code-templates638 installsComprehensive guide for building production Telegram bots in Node.js and Python with the Bot API.
slack-bot-builderSkilldavila7/claude-code-templates206 installsBuild Slack apps with Bolt across Python, JavaScript, and Java, covering Block Kit and OAuth flows.