discord

Send messages, manage channels, and handle events via discord.py.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/XiongJingzhi/agent-learn --skill discord-xiongjingzhi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discord
Source: https://github.com/XiongJingzhi/agent-learn/tree/main/app/bub/src/bub/skills/discord
Command: npx skills add https://github.com/XiongJingzhi/agent-learn --skill discord-xiongjingzhi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires discord.py, and includes scripts (resource) components.

What problem does it solve?

This Skill enables seamless integration with Discord, allowing for automated message sending, channel management, and event handling directly from your AI agent.

Core Features & Use Cases

  • Message Sending: Send messages to specific channels or threads, including rich embeds.
  • Bot Interaction: Create and run a Discord bot using discord.py to respond to commands and events.
  • Event Handling: Process various Discord events like new messages or member joins.
  • Use Case: Automatically post daily summaries to a designated Discord channel or create a bot that responds to user queries with information fetched by the AI.

Quick Start

Run the discord bot script to start the bot with your token.

Frequently Asked Questions about discord

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

FAQPage Schema
How do I automate sending messages to a Discord channel using discord.py?

To automate sending messages to a Discord channel, this Skill uses the discord.py library to dispatch messages directly to specific channels or threads via their IDs, including rich embeds.

What do I need to set up a Discord bot to respond to events?

Setting up a Discord bot requires the discord.py library and a BUB_DISCORD_TOKEN environment variable for authentication, enabling the bot to process events like on_message and on_command_error.

Can I send rich embed messages to Discord threads with this integration?

Yes, you can send rich embed messages to Discord threads. The integration supports sending structured embeds and standard messages directly to targeted channels or specific thread IDs.

How does event handling work for Discord bots in Python?

Event handling for Discord bots works by using discord.py to listen and respond to common platform events, such as processing new messages with on_message or catching execution issues with on_command_error.

What is the best way to manage Discord channels from an AI agent?

The best way to manage Discord channels from an AI agent is using this discord.py integration, which allows automated channel management, message dispatch, and real-time event handling directly from your scripts.