discord-interactions-py
Toolkit simple pour discord.py, inspire de la logique Discord.js, avec controle direct des payloads Discord API.
Ce que fait le module
- Boutons et selects sans
View - Routing par
custom_id(avec donnees encodees) - Envoi/edition via HTTP Discord direct
- Containers V2 (
ContainerBuilder,SectionBuilder, ...) - Modales modernes (
Label,TextDisplay,RadioGroup,CheckboxGroup,Checkbox)
Installation
pip install levraiberet-discord-interactions
Nom du package PyPI: levraiberet-discord-interactions
Nom d'import Python: discord_interactions
Demarrage rapide
$env:DISCORD_BOT_TOKEN="votre_token"
python examples/01_minimal.py
Exemples (1 fichier = 1 sujet)
examples/01_minimal.pyexamples/02_buttons_routing.pyexamples/03_selects.pyexamples/04_modales_modernes.pyexamples/05_containers_v2.pyexamples/06_signed_custom_ids.py
Validation rapide
Tu peux valider le module en lancant les exemples un par un, selon le sujet a verifier.
python examples/01_minimal.py
python examples/04_modales_modernes.py
Note sur les modales modernes
Format recommande:
- top-level:
Label (18)/TextDisplay (10) Label.component:TextInput (4), selects,FileUpload (19),RadioGroup (21),CheckboxGroup (22),Checkbox (23)
Licence
MIT
Metadata
Release files for levraiberet-discord-interactions 0.2.4
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 |
|---|---|---|---|---|
| levraiberet_discord_interactions-0.2.4.tar.gz | 60.3 kB | Without provenance | Details for levraiberet_discord_interactions-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| levraiberet_discord_interactions-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for levraiberet_discord_interactions-0.2.4-py3-none-any.whl |
Total release size: 113.8 kB
Release files / levraiberet_discord_interactions-0.2.4.tar.gz
| Download URL | levraiberet_discord_interactions-0.2.4.tar.gz |
|---|---|
| Size | 60.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7101d34f1d5fe1a610c97e58ac3d17c470dd111b06470e0622edc2049a7e7d1d
|
|
BLAKE2b-256 checksum How to use checksums |
c6c31ad93d367f9a58fedddb756a57a079fdc8b55c729ce8b01f1902a0340bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / levraiberet_discord_interactions-0.2.4-py3-none-any.whl
| Download URL | levraiberet_discord_interactions-0.2.4-py3-none-any.whl |
|---|---|
| Size | 53.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfeeef41e0e000e7fd0c4aae1d6e1442f79f2fe4caccefd7dbb8c349a9ebb696
|
|
BLAKE2b-256 checksum How to use checksums |
63b6d31545c1d6af86a5bac69925b147c7d4afa99ff0ea92d341f28bb388749c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for levraiberet-discord-interactions 0.2.4
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.