discord-py

Develop Discord bots with discord.py covering events, commands, and slash commands.

3|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/frizzle-chan/mudd --skill discord-py
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discord-py
Source: https://github.com/frizzle-chan/mudd/tree/main/.claude/skills/discord-py
Command: npx skills add https://github.com/frizzle-chan/mudd --skill discord-py

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code examples for developing Discord bots using the popular discord.py library, simplifying bot creation and management.

Core Features & Use Cases

  • Bot Fundamentals: Covers client setup, event handling, and basic commands.
  • Advanced Features: Includes slash commands, cogs for organization, UI components (buttons, modals), and forum channel operations.
  • Use Case: A user wants to create a Discord bot that can respond to messages, manage roles, and provide information about server members. This Skill offers the necessary code snippets and explanations to achieve this.

Quick Start

Use the discord-py skill to create a basic Discord bot that responds to the command '!ping'.

Frequently Asked Questions about discord-py

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

FAQPage Schema
How do I create a Discord bot with Python that responds to messages?

You create a Discord bot with Python by initializing a client, configuring event handling for message reception, and defining command logic to process inputs. This foundation enables basic interactive bot behaviors.

How do I add slash commands to my discord.py bot?

You add slash commands to your discord.py bot by utilizing the library's built-in slash command integration features. This allows your bot to register and handle modern interactive application commands natively.

Can I organize my Discord bot commands into separate files using cogs?

Yes, you can organize Discord bot commands into separate files using cogs. Cogs allow you to modularize commands, event handlers, and bot features into distinct Python files for maintainable bot architecture.

Does discord.py support interactive UI components like buttons and modals?

Yes, discord.py supports interactive UI components like buttons and modals. You can implement these UI elements to create rich, interactive interfaces for users directly within Discord channels.

How do I manage forum channels with a Python Discord bot?

You manage forum channels with a Python Discord bot by integrating discord.py's forum channel operations. This allows your bot to programmatically create, modify, and manage forum posts and tags.