This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 3.4.0 instead.
Reason given by maintainers: Broken build, Context is not working properly
discord.http
Python library that handles interactions from Discord POST requests.
Supported installs
Installing
You need Python >=3.11 to use this library.
Install by using pip install discord.http in the terminal.
If pip does not work, there are other ways to install as well, most commonly:
python -m pip install discord.httppython3 -m pip install discord.httppip3 install discord.http
Installing beta
Do you live on the edge and want to test before the next version is released?
You can install it by using git+https://github.com/AlexFlipnote/discord.http@master instead of discord.http when running pip install.
Quick example
from discord_http import Context, Client
client = Client(
token="Your bot token here"
)
@client.command()
async def ping(ctx: Context):
""" A simple ping command """
return ctx.response.send_message("Pong!")
client.start()
Need further help on how to make Discord API able to send requests to your bot? Check out the documentation for more detailed information.
Resources
- Documentations
- Discord server
- discord.http Bot example
Acknowledgements
This library was inspired by discord.py, developed by Rapptz. We would like to express our gratitude for their amazing work, which has served as a foundation for this project.
The project is also a fork of joyn-gg/discord.http
Metadata
Release files for discord.http 3.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| discord_http-3.1.1.tar.gz | 177.8 kB | Without provenance | Details for discord_http-3.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discord_http-3.1.1-py3-none-any.whl | Python 3 | none | any | Details for discord_http-3.1.1-py3-none-any.whl |
Total release size: 376.8 kB
Release files / discord_http-3.1.1.tar.gz
| Download URL | discord_http-3.1.1.tar.gz |
|---|---|
| Size | 177.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0db8649df06c94be4a0266f4aea5fef3a33dd52ec2f5795eef69e2c81f4c90d8
|
|
BLAKE2b-256 checksum How to use checksums |
66a13c106ab8efee4537063f02b762ca5d250015555f58548cfe558f8c427f27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / discord_http-3.1.1-py3-none-any.whl
| Download URL | discord_http-3.1.1-py3-none-any.whl |
|---|---|
| Size | 199.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb2ab64b8a2df22015c98f4d73e2635410ae6208bb5ec0b211c2cd253be8c8d6
|
|
BLAKE2b-256 checksum How to use checksums |
2c6ed4b241996cb5ed75575c387fc515cefa90e0ea1393db34cfd77569dc969a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for discord.http 3.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.