Projetos
Ver no GitHub
Awesome Discord.py
kzndotsh/awesome-discordpy
Sobre
An Awesome list for all things Discord.py
Aprendizado e educaçãoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- -2
- em 1 mês
- -1
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalAwesome Discord.py 
Useful resources for creating Discord bots with discord.py.
discord.py is a modern, easy to use, feature-rich, and async-ready API wrapper for Discord.
Last Activity: ⚡ within 6 months · 🕰️ 6–24 months · 💤 over 2 years. Hover an icon for the month.
Contents
- Official Links
- Libraries and Extensions
- Example Bots
- Blog Posts, Guides and Tutorials
- Community Gists and Snippets
- Additional Resources
- Forks and Wrappers
- Related
Official Links
- Discord.py Documentation - API reference, guides, and examples.
- Discord.py Changelog - Release notes and breaking changes.
- Discord.py FAQ - Common questions and answers.
- Migrating to v2.0 - Breaking-change guide for 2.0.
- Discord.py Quickstart - Minimal getting-started example.
- Creating a Bot Account - Register an application, get a token, and invite the bot.
- A Primer to Gateway Intents - Which intents to enable and why events or members go missing without them.
- Setting Up Logging - Configure the library's logging output.
- Commands Extension - Prefix and hybrid commands, cogs, checks, and converters.
- Tasks Extension - Background loops with
tasks.loop. - Interactions API Reference - Slash commands, views, modals, and other components.
- Discord.py Discord Server - Official community Discord.
- Official Examples - Example bots and snippets from the upstream repo. ⚡
- Discord.py GitHub - Upstream source repository. ⚡
Libraries and Extensions
Utilities
- Kyrela/discore - Bot bootstrap with log and error tracking. ⚡
- tibue99/ezcord - Cogs, i18n, error webhooks, and embed helpers; also works with Pycord. ⚡
- InterStella0/starlight-dpy - Paginated help commands, inline views, and converters. Pre-alpha; not for production. ⚡
- Soheab/discord-ext-subcommands - Define prefix, slash, and hybrid subcommands across files and cogs. ⚡
- python-discord/bot-core - Shared utilities used by Python Discord's bots. ⚡
- rnxm/discord-localization - JSON-file localization for command responses. ⚡
- clari7744/DPyUtils - Duration parsing, extra converters, and a context editor that re-runs commands when the user edits their message. 🕰️
- beer-psi/discord-ext-track-edits - Updates or deletes the bot's reply when the user edits or deletes the command message. 🕰️
- mikeshardmind/discord-scheduler - Persistent SQLite-backed task scheduler with timezone-aware wall times. 🕰️
- Soheab/discord-ext-custom_interaction - Subclass
discord.Interactionwith helpers such assendandauthor. 🕰️ - Voxel-Fox-Ltd/VoxelBotUtils - Config, database, logging, error handling, and help-command helpers, built for Novus. 💤
Testing and Debugging
- python-discord/snekbox - NSJail sandbox for evaluating untrusted Python, used by Python Discord. ⚡
- scarletcafe/jishaku - REPL, extension reload, and debug cog for running bots. ⚡
- CraftSpider/dpytest - Fake Discord backend for writing bot tests. ⚡
UI
- thegamecracks/discord-ext-pager - Paginator with an API close to discord-ext-menus. ⚡
- keizaiya/discord-ext-flow - State-machine control flow on top of
discord.ui. ⚡ - HollowTheSilver/CascadeUI - Redux-style centralized state, persistence, and Components V2 patterns. ⚡
- Defxult/reactionmenu - Paginator with buttons, reactions, and select-based categories. 🕰️
- Soheab/discord-py-paginators - Button and other paginator types with published docs. 🕰️
- Soheab/cv2examples - Screenshots and sample layouts for Components V2. 🕰️
- Soheab/modal-paginator - Paginate a Modal across pages using buttons. 🕰️
- philskillz-coder/discord-py-paginator - View-based embed paginator. 🕰️
- Soheab/discord-ext-embeds - Embed constructor with author/footer shortcuts, file media, and character-limit checks. 🕰️
- OnceYT/dpy-paginator - Dependency-free embed paginator. 💤
- sizumita/discord-ext-ui - Declarative SwiftUI-style views with reactive state; works with Pycord too. 💤
- Modern-Realm/discord_btns_menus - Buttons, select menus, combinations, and pagination; also supports related forks. 💤
- LiBa001/disputils - Pagination, confirmation dialogs, and small UI helpers. 💤
- vcv88/discord-ext-dyn - Dynamic creation of modals, buttons, and select menus. 💤
Inter-Process Communication
- No767/discord-ext-ipcx - Maintained IPC extension for splitting the bot across processes. ⚡
Voice receive
- discord-ext-voice-recv - Receive and process users' voice packets. Does not decrypt DAVE end-to-end encrypted voice, so receive breaks on 2.7+. 🕰️
- Sheppsu/discord-ext-listening - Voice receive via multiprocessing. 💤
Voice send
- sizumita/discord-ext-songbird - Rust Songbird
VoiceProtocolwith low-latency playback and voice receive. Beta. ⚡
Lavalink
- PyLav/PyLav - Lavalink wrapper aimed at bots including Red-DiscordBot. ⚡
- ooliver1/mafic - Typed Lavalink client that also supports nextcord, disnake, and Pycord. ⚡
- sonolink/sonolink - Typed Lavalink v4 client built on msgspec; also supports Pycord and disnake. ⚡
- devoxin/Lavalink.py - Lavalink client with multi-node load balancing, filters, and custom sources. ⚡
- ParrotXray/lava-lyra - Lavalink v4 and Nodelink v3 client that also supports Pycord. ⚡
- cloudwithax/pomice - Lavalink client with Spotify and Apple Music querying. ⚡
- PythonistaGuild/Wavelink - Async Lavalink v4 client. ⚡
- HazemMeqdad/lavaplay.py - Lavalink v4 node manager that works with any async Discord wrapper. 🕰️
- Cog-Creators/Red-Lavalink - Lavalink client used by Red-DiscordBot, usable in any bot. 🕰️
Authentication
- Soheab/oauthcord.py - Async OAuth2 client with typed REST models; not a bot framework. ⚡
- Rapptz/open-collective-discord-auth - Linked-role auth server for Open Collective membership. ⚡
- treeben77/discord-oauth2.py - OAuth2 and Linked Roles REST wrapper. 🕰️
Metrics, Monitoring, and Logging
- EthanC/Loguru-Discord - Loguru sink that posts logs to a webhook. ⚡
- discord-ext-prometheus - Prometheus metrics exporter for running bots. 🕰️
- python-discord/metricity - Metric collection used on the Python Discord server. 💤
Miscellaneous
- Skelmis/Discord-Anti-Spam - Automatic spam handling for commands and messages. ⚡
- mahtoid/DiscordChatExporterPy - Export channel history to HTML transcripts. 🕰️
- Tom-the-Bomb/Discord-Games - Drop-in games such as chess, Connect Four, hangman, and 2048, played through reactions or buttons. 🕰️
- YousefEZ/discord-qalib - XML templates for embeds and paginated menus. 🕰️
- Bluenix2/discord-typings - TypedDicts for Discord gateway and HTTP payloads. 🕰️
Templates
- PaulMarisOUMary/Discord-Bot - 2.x starter with hybrid commands, Docker, logging, and a database. ⚡
- kkrypt0nn/Python-Discord-Bot-Template - Starter project for a personalized bot. ⚡
Example Bots
Reference implementations
- avizum/alpine - Public source for a general-purpose bot; author recommends the hosted instance. ⚡
- AbstractUmbra/Mipha - Umbra's personal bot, forked from RoboDanny and kept on latest library releases. ⚡
- AlexFlipnote/discord_bot.py - Minimal starter bot. ⚡
- Kile/Killua - Games, moderation, and todo lists, plus extra algorithm notes in-tree. ⚡
- Rapptz/RoboDanny - Rapptz's production bot; commonly used as a reference implementation. ⚡
- onerandomusername/monty-python - Helper bot for Python project development. 🕰️
Community and moderation
- python-discord/bot - Moderation, utils, and community tools for Python Discord. ⚡
- Tortoise-Community/tortoise-bot - Community bot for the Tortoise Discord. ⚡
- modmail-dev/Modmail - Shared staff inbox, similar to Reddit Modmail. ⚡
- python-discord/sir-robin - Event-management bot for Python Discord. ⚡
- python-discord/sir-lancebot - On-ramp bot for new open-source contributors at Python Discord. ⚡
- fourjr/rainbot - Moderation bot with automod and logging. 🕰️
- PythonistaGuild/Pythonista-Bot - Guild bot for the Pythonista Guild server. 🕰️
- DeJayDev/speedboat - Tools for running large community servers. 💤
Frameworks
- Cog-Creators/Red-DiscordBot - Self-hosted modular bot with a large cog ecosystem. ⚡
Music and games
- seriaati/hoyo-buddy - User-installable bot for Genshin Impact, Honkai: Star Rail, and other Hoyoverse games. ⚡
- Ballsdex-Team/BallsDex-DiscordBot - Collect and trade countryballs. ⚡
- ChocoMeow/Vocard - Music bot for YouTube, SoundCloud, Spotify, and Twitch. ⚡
- poketwo/poketwo - Pokémon catching and collecting, in the Pokécord style. 🕰️
Specialized
- statch/gitbot - GitHub notifications and developer tools. ⚡
- Hunter87ff/Spruce - Tournament and server management. ⚡
- Yuuzi261/Tweetcord - Posts new tweets from followed X/Twitter accounts to chosen channels. ⚡
- mikeywhiston/ERM - Staff tools aimed at Roblox communities. ⚡
- jakobdylanc/llmcord - LLM frontend for OpenAI-compatible APIs. ⚡
- cheran-senthil/TLE - Competitive programming helper for Codeforces and similar sites. 🕰️
Multipurpose
- Axobot-org/Axobot - Multilingual general-purpose bot with moderation, XP, and Minecraft lookups. ⚡
- DTS-11/PizzaHat - General-purpose bot with a public website and AGPL source. ⚡
- joinemm/miso-bot - General-purpose bot with Last.fm and K-pop commands. ⚡
- Iapetus-11/Villager-Bot - Minecraft-themed bot with server status checks, pixel art, and an economy game; sharded across clusters. ⚡
- wasi-master/wm_bot - General-purpose bot with a large command set. ⚡
- Nirlep5252/EpicBot - General-purpose bot with a large public command set. 🕰️
Blog Posts, Guides and Tutorials
- User Installable Applications - Umbra's Rantings - Installable app commands and how to register them.
- All about selects - Umbra's Rantings - Select menu types and how to use them.
- Application Command definition examples - Umbra's Rantings - Examples of slash, user, and message command definitions.
- Application command basics - Umbra's Rantings - Slash commands through modals and other components.
- Umbra's Sync Command - Umbra's Rantings - CommandTree sync command and how it works.
- Discord.py Masterclass - From-scratch tutorial covering library features.
- Python Discord - Discord.py Learning Guide - Curated learning path for setup, commands, and FAQ.
- Components V2 - Umbra's Rantings - LayoutView and Discord's Components V2 in library 2.6.
- thegamecracks/discord.py-i18n-demo - Working bot that shows gettext localization end to end. 🕰️
Community Gists and Snippets
Help Commands
- voidoak/Implementing Help - Tutorial on implementing your own help command. 🕰️
- InterStella0/HelpCommand walkthrough - Walkthrough for subclassing HelpCommand. 🕰️
- nonchris/Custom Help Command - Advanced custom help command example. 💤
- Rapptz/Embed Help Command - Embed-based help command example from the library author. 💤
- Gobot1234/Sub-classing Help - Guide to subclassing the help command. 💤
Error Handling
- EvieePy/Error Handling - Error handling for prefix and app commands. ⚡
- irregularunit/Command Error Handler - Structured command error handler example. 💤
- Jeftaei/AppCommandErrorhandler.py - Error handler covering prefix and app commands. 💤
Components and UI
- Soheab/Simple Button Paginator - Small paginator with three buttons. 🕰️
- Soheab/Global View - Pattern for a globally registered view. 🕰️
- lykn/Buttons - How to make buttons in v2. 🕰️
- lykn/Selects or Dropdowns - Select menus in v2. 🕰️
- InterStella0/Pagination Walkthrough - Walkthrough of action-based pagination. 🕰️
- imptype/Message Maker - Embed/message builder command. 🕰️
- esmaycat/Message Components - Using message components in 2.0. 🕰️
- Soheab/wait_for Modal - Wait for user input with a modal. 💤
- mikeshardmind/List Menu - List menu pagination snippet. 💤
- quackbarc/2.0 Paginators - Paginator examples for 2.0. 💤
Components V2
- Soheab/Components V2 to LayoutView - Mapping Components V2 to LayoutView. ⚡
- Soheab/CV2 Paginator - Components V2 paginator. 🕰️
- Soheab/Embed to Container - Convert an embed into a Components V2 container. 🕰️
Cogs and Commands
- Soheab/self.bot in Cogs - How
self.botworks inside a cog. ⚡ - EvieePy/Cogs Example - Classic cogs and extension layout. 🕰️
- Soheab/wait_for in Commands - Examples of
wait_forinside ext.commands. 🕰️ - LeoCx1000/MentionableTree implementation - Mentionable CommandTree so slash commands can be mentioned. 🕰️
- Painezor/Checks - Built-in checks for the commands extension. 🕰️
- Samarthh2601/App Commands Walkthrough - Walkthrough for application commands. 🕰️
- Soheab/Any-Permission Check - Custom check that passes if the user has any of the given permissions. 💤
- Ikusaba-san/Cog Methods - List of special cog methods. 💤
Other Snippets
- kkrypt0nn/ANSI Colors on Discord - ANSI color codes in Discord code blocks. ⚡
- LeviSnoot/Discord Timestamps - Discord timestamp markdown syntax. ⚡
- advaith1/Intents Explainer - Gateway and privileged intents: statuses, members, and message content. ⚡
- mikeshardmind/SQLite Examples - Common SQLite patterns for bots. ⚡
- Soheab/APIs for Discord Bots - Community list of APIs commonly used with Discord bots. ⚡
- Soheab/Threads - Creating and managing Discord threads. ⚡
- 4Kaylum/Discord.py Tutorial - Simple bot tutorial. 🕰️
- AkshuAgarwal/Interactions - Intro to interactions and how to handle them. 🕰️
- Soheab/Voice Channel Status - React when a voice channel status is set or changed. 🕰️
- Soheab/discord.Colour - Reference for discord.Colour helpers. 🕰️
- scragly/Learning discord.py - Setup, core concepts, and a resource list for learning the library. 🕰️
- Soheab/No Message Content Intent Ideas - Command ideas that work without the privileged message content intent. 🕰️
- cibere/Defer Response - Acknowledge an interaction and respond later, up to 15 minutes. 🕰️
- Soheab/Server Tag - Overflow copy of a long official-server tag that exceeded Discord's character limit. 💤
- philskillz-coder/Color Transformer - Color transformer and autocomplete. 💤
- CuteFwan/wait_for Multiple Events - Waiting for more than one Discord event at a time. 💤
Additional Resources
- Permissions Calculator - Build bot invite links with a chosen permission bitfield.
- Discord Community Resources - Official index of libraries, calculators, and embed tools.
- Intent Calculator - Build a gateway intents bitfield for Identify.
- Embed Visualizer - Live embed designer with generated library snippets.
- scarletcafe/discord.py-docker - Source for the
gorialis/discord.pyDocker images with the library preinstalled. 🕰️ - Soheab/discord.py-tags - Overflow copies of long tags from the official library Discord. 🕰️
- Soheab/dpy-badhosts - Hosts the community generally warns against using for bots. 💤
- Soheab/dpy-missing-features - Discord API features the library does not yet expose. 💤
- Rapptz/asqlite - Async wrapper around sqlite3. 💤
- discord-interactions-python - Official helpers for verifying HTTP interaction signatures. 💤
Forks and Wrappers
disnake, nextcord, Novus, pycord, and discord.py-message-components are discord.py forks. hikari, hata, interactions.py, and discord.http are independent wrappers, not drop-in replacements for discord.py.
- disnake - Async Discord API wrapper, forked from discord.py. ⚡
- pycord - Maintained fork of discord.py. ⚡
- hikari - Independent async wrapper, not a drop-in replacement. ⚡
- AlexFlipnote/discord.http - HTTP-interactions-first library with optional gateway and cache control. ⚡
- nextcord - API wrapper forked from discord.py. ⚡
- interactions.py - Independent bot framework, not a drop-in replacement. ⚡
- hata - Independent async wrapper, not a drop-in replacement. ⚡
- Novus - Async API wrapper forked from discord.py, used by VoxelBotUtils. ⚡
- mccoderpy/discord.py-message-components - Fork that added message components before they landed upstream. 🕰️
Related
- Discord Library Comparison - Feature matrix across Discord libraries.
- jacc/awesome-discord - Clients, bots, libraries, and related tools. 🕰️
- awesome-discord-communities - Programmer Discord communities. 🕰️
Contributing
Contributions of any kind welcome, just follow the guidelines!
Contributors
Explore projetos relacionados
Carregando…