Skip to main content

discord-py-slash-components-bridge

Bridge for discord-interactions and discord-components

PyPI downloads

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_click and select_option have been saved.

  • Event interaction now is component.

  • Interaction is not available to use. Now it's ComponentContext and now you need use methods of ComponentContext

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)

Source distribution for discord-slash-components-bridge 0.1.1
File Size Uploaded
discord_slash_components_bridge-0.1.1.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discord-slash-components-bridge 0.1.1
File Interpreter ABI Platform
discord_slash_components_bridge-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page