Skip to main content
The 2024 Developer Survey results are live! See the results

'discord.py' is a Python 3.8+ library for interfacing with the official Discord API. This tag should only be used when referring to the discord.py library. If using the [nextcord] or [pycord] fork, please use these tags instead if the question refers to them specifically; otherwise, please use both the fork's tag and [discord.py]. Please check if all necessary intents are enabled in the code and your Discord Developer Portal.

discord.py is a wrapper library for the official Discord API written in Python. It's commonly used for creating Discord chat bots that users can interact with, as well as simply for logging messages sent to a Discord server.

References

Code Language (used for syntax highlighting): lang-py