A Python wrapper for the Discord user (self-bot) API, allowing automation of user accounts. Version 2.1.0 supports Python >=3.10. This library is not officially supported by Discord and is against Discord's Terms of Service, often leading to account bans. It uses a similar API to discord.py but for user accounts.
pip install discord-py-selfVerified import paths — ran on the pinned version, not inferred.
Minimal self-bot using commands.Bot with self_bot=True and message content intents.
Add intents=discord.Intents.default() (or custom) when creating Client or Bot.
Use bot.run(token) or await bot.start(token) instead of bot.login(token).
Consider using a bot account with discord.py instead.
Add intents=discord.Intents.default() to your Client or Bot constructor.
Use bot.run(token) or await bot.start(token) instead.
No dependency data recorded yet.