Nextcord is a modern, asynchronous Python wrapper for the Discord API, forked from discord.py after v1.7.3. It aims to keep compatibility while adding new Discord features. Current version is 3.2.0, supporting Python 3.12+. Release cadence is irregular, with major updates roughly yearly.
pip install nextcordNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic bot with command prefix and ready event. Replace 'TOKEN' with your bot token.
Install Python 3.12 or newer, then upgrade nextcord.
Replace attachment.url with attachment.proxy_url or attachment.url after enabling the new intent.
1. Enable 'Server Members Intent' and 'Presence Intent' in Discord Developer Portal. 2. Pass intents=nextcord.Intents.all() or intents=nextcord.Intents(members=True, presences=True) to your bot/client.
Replace `case_insensitive=True` with `command_prefix=lambda bot, msg: '!' if ... else '?'` or use discord.py style `when_mentioned`.
Rename your file (e.g., my_bot.py). Upgrade nextcord: pip install -U nextcord.
Use `from nextcord.ext import commands` and instantiate `bot = commands.Bot(command_prefix='!', intents=...)`.
Enable them in the Discord Developer Portal under 'Bot' settings. Then update code: `intents = nextcord.Intents.all()` or explicit intents.