discord-bot-dev

Implement Discord bot patterns with discord.py 2.0+ using app_commands and minimal intents.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/syuutaMC/TalkBot2 --skill discord-bot-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discord-bot-dev
Source: https://github.com/syuutaMC/TalkBot2/tree/main/.github/skills/discord-bot-dev
Command: npx skills add https://github.com/syuutaMC/TalkBot2 --skill discord-bot-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, best-practice guide for building Discord bots with discord.py, covering slash commands, intents, audio handling, events, and error handling to streamline development and maintenance.

Core Features & Use Cases

  • Slash command-first design: Emphasizes app_commands usage, proper permission checks, and predictable UX.
  • Minimal, secure intents: Guides enabling only required intents to improve security and performance.
  • Robust audio handling patterns: Outlines voice queue management, playback, and cleanup for reliable audio in channels.
  • Event-driven architecture guidance: Demonstrates on_ready, on_message, and other event-handling patterns.
  • Error handling & resilience: Provides global and per-command error handling strategies with user-friendly feedback.

Quick Start

Refactor your bot to use app_commands, minimal intents, and a basic ready/on_message scaffold as demonstrated.

Frequently Asked Questions about discord-bot-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up slash commands in a discord.py bot?

Slash commands in discord.py are implemented using the app_commands module to enforce proper permission checks and predictable user experiences. This approach provides a standardized interaction interface replacing traditional message-based command parsing.

What are the best practices for discord.py intents configuration?

Discord.py intents configuration best practices involve enabling only required intents to improve bot security and performance. This minimal intent strategy limits unnecessary data exposure while maintaining essential event-driven functionality.

How do I handle errors globally in a discord.py bot?

Handling errors globally in a discord.py bot requires implementing both global and per-command error handling strategies that provide user-friendly feedback. This resilience pattern ensures the bot remains stable during unexpected execution failures.

How do I manage audio queues for a discord.py voice bot?

Managing audio queues in a discord.py voice bot requires implementing structured voice queue management, playback control, and cleanup patterns. This ensures reliable audio delivery in voice channels without playback conflicts or resource leaks.

Does discord.py 2.0 support event-driven bot architecture?

Discord.py 2.0 supports event-driven bot architecture through event handlers like on_ready and on_message. This architecture allows bots to react to platform events asynchronously while maintaining slash command-first design principles.