discord-py-slash-components-bridge
Bridge for discord-interactions and discord-components
Welcome
discord-interactions and discord-components are incompatible and this bridge can compatible these libs.
This lib overrides discord-interaction classes and methods for working with discord-components components(Selects and Buttons)
How to use?
from discord.ext import commands
#from discord_slash import SlashCommand # No need anymore
from discord_slash_components_bridge import SlashCommand
bot = commands.Bot(...)
slash = SlashCommand(bot, ...)
Migration from discord-components
If you have used this, then I prepared for you some things.
-
Events
button_clickandselect_optionhave been saved. -
Event
interactionnow iscomponent. -
Interactionis not available to use. Now it'sComponentContextand now you need use methods ofComponentContext
Metadata
Release files for discord-slash-components-bridge 0.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_slash_components_bridge-0.1.1.tar.gz | 10.3 kB | Without provenance | Details for discord_slash_components_bridge-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discord_slash_components_bridge-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for discord_slash_components_bridge-0.1.1-py3-none-any.whl |
Total release size: 22.4 kB
Release files / discord_slash_components_bridge-0.1.1.tar.gz
| Download URL | discord_slash_components_bridge-0.1.1.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
314a1f3312ff629ef06bc043eeac31ede74a069eaea87466ddf7f275be33321e
|
|
BLAKE2b-256 checksum How to use checksums |
347cec7bf5fc10eaba5fe69427204b0900fb71460941a6eb9bfefa42590dc2d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / discord_slash_components_bridge-0.1.1-py3-none-any.whl
| Download URL | discord_slash_components_bridge-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b59c04ad7985d0440e66a7ba72a21ee8753bde14a9e140ec60ff0feacf318105
|
|
BLAKE2b-256 checksum How to use checksums |
8b07ffb150429a0cf61ac4066e881eaa9ad8f08da93573b6481f2d3b1030a957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for discord-slash-components-bridge 0.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.