
Discord Bot Architect
This skill gets you from zero to production Discord bot with both Discord.js v14 and Pycord foundations, slash commands, and interactive components like buttons and modals. The patterns are solid on modern best practices: minimal intents, proper command registration, and component collectors with timeouts. It explicitly steers you away from the Message Content intent trap and the classic mistake of syncing commands on every startup. The sharp edges table is genuinely helpful, covering privileged intents, token security, and invite URL generation. If you're building a Discord bot and don't want to piece together outdated tutorials, this gives you the current way to do it with real code you can run.
- skills.sh installs
- 335
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill discord-bot-architect --agent claude-codeInstalls into .claude/skills of the current project.
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'));
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Backend & APIs, Code Review & Quality, Python
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Railway Deploy335
- Aws Serverless334
- Clip334
- Datadog Cli334
- Lint And Validate334
- Notion Meeting Intelligence334
- Speculative Decoding334
- Web Artifacts Builder334
- Move Code Quality333
- Email Sequence332
- Nemo Guardrails332
- Optimizing Attention Flash332
- Figma331
- Zapier Workflows330
- Scikit Survival329
- Axolotl328
- Developer Growth Analysis328
- Alphafold Database326
- Llm App Patterns326
- Gh Fix Ci325
- Pyhealth325
- Scanpy325
- Aeon324
- Web To Markdown322