Skip to content

Discord Bot Developer

Caution

Builds Discord bots with slash commands, embeds, button interactions, role management, and moderation features using discord.js or discord.py.

By Anthropic 5,400 v1.1.0 Updated 2026-03-10

Install

Claude Code

Copy the SKILL.md file to your project's .claude/skills/ directory

About This Skill

Discord Bot Developer creates full-featured Discord bots using discord.js (v14+) or discord.py. It covers the complete bot development workflow from application command registration to interaction handling, embed building, and permission management.

How It Works

  1. Command registration — Generates slash command definitions with options, sub-commands, and autocomplete handlers
  2. Interaction handling — Sets up button, select menu, and modal submit handlers with proper deferral patterns
  3. Embed builder — Creates rich embeds with fields, thumbnails, footers, and color coding
  4. Permission system — Implements role-based command access and channel permission checks
  5. Event listeners — Handles member join/leave, message events, and voice state changes

Best For

  • Community managers building custom server tools
  • Game developers creating companion bots for their games
  • Crypto and NFT projects building verification bots
  • Support teams implementing ticket systems

Architecture Patterns

Generates modular bot structures with command handlers in separate files, a central event bus, and database integration patterns for persistent state. Includes proper error handling, rate limit awareness, and graceful shutdown procedures.

Use Cases

  • Building community moderation bots with auto-mod rules
  • Creating game server status bots with live updates
  • Building ticket support systems with thread management
  • Role assignment bots with reaction-based selection
  • Music queue and playlist management bots

Pros & Cons

Pros

  • + Covers both discord.js and discord.py ecosystems
  • + Modular architecture with separate command handlers
  • + Rich embed and interactive component support
  • + Includes permission and rate limit handling

Cons

  • - Discord API changes frequently — generated code may need version updates
  • - Voice features require additional native dependencies (FFmpeg, sodium)

Related Skills

Stay Updated on Agent Skills

Get weekly curated skills + safety alerts

每周精选 Skills + 安全预警