discord-py
Installation
SKILL.md
discord.py Quick Reference
This skill provides guidance for building Discord bots with the discord.py library.
Quick Start: Minimal Bot
import discord
intents = discord.Intents.default()
intents.message_content = True # Required for reading message content
client = discord.Client(intents=intents)
@client.event
async def on_ready():
print(f"Logged in as {client.user}")