A Modern, Easy to Use, Feature-Rich, and Async Ready API Wrapper for Discord's User API (Python)
Note:
- Automating user accounts is against the Discord ToS. This library is a proof of concept and I cannot recommend using it. Do so at your own risk.
Fork Changes
These changes have become too numerous to mention, so check out our docs.
Key Features
-
Modern Pythonic API using async and await.
-
Proper rate limit handling.
-
Optimised in both speed and memory.
-
Mostly compatible with the upstream discord.py.
-
Prevents user account automation detection.
-
Implements vast amounts of the user account-specific API. Some of the features include:
- Sessions
- Read states
- Connections
- Relationships
- Experiments
- Protobuf user settings
- Application/team management
- Store/SKUs/entitlements
- Billing (e.g., subscriptions, payments, boosts, promotions, etc.)
- Interactions (slash commands, buttons, etc.)
Installing
Python 3.8 or higher is required.
To install the library without full voice support, you can just run the following command:
Note:
A Virtual Environment is recommended to install the library, especially on Linux where the system Python is externally managed and restricts which packages you can install on it.
Install Commands:
Linux/macOS:
python3 -m pip install -U discord.py-self