Releases: mccoderpy/discord.py-message-components
v1.8.0-alpha.1
Many changes were made. A detailed changelog will follow later in the new documentation
What's Changed
- fix(BaseInteraction): only edit_interaction_response when it's first … by @ChrissisCodeXD in #49
- Many other stuff, but the changelog is broke due to a force push
New Contributors
- @ChrissisCodeXD made their first contribution in #49
Full Changelog: https://github.com/mccoderpy/discord.py-message-components/commits/v1.8.0-alpha.1
Release v1.7.5.4
Version 1.7.5.4
⚠️ NOTE: This release includes the Changes and Additions made in the PyPI Versions 1.7.5.1, 1.7.5.2, 1.7.5.3 and 1.7.5.4
Added
-
Added full support for Select-Menus
-
Added SelectOption to create options for a SelectMenu
-
Added custom decorators so you could make a function for a specified custom_id(normal use with @client.on_click()/@client.on_select() and in Cogs with @commands.Cog.on_click()/@commands.Cog.on_select())
Take a look at the docs for examples and CO. -
Added support for different response_types when deferring a Interaction
-
Added a created_at attribute to Interaction witch returns the creation date of the Interaction in UTC
-
Added a function to create a styled timestamp (in utils.py)
-
Added TimestampStyle to use in styled_timestamp
Changed
-
Removed
ButtonStyleandButtonColorfrom components.py and place it in enums.py. Everything that was underButtonColorand all aliases for the styles are now in ButtonStyle.ButtonColorwill still as an alias for ButtonStyle -
raw_button_click and raw_selection_select events now also have an second parameter which contains the component
-
Changed the websocket from v6 to v9
-
Changed the default value of
guild_idin the Interaction fromNoneto0
Fixed
-
Fixed an issue when creating Channels and purging them(dk. wy but there was an
_instead of a-in the bulk-delete URL) -
Fixed problems with permissions (the reason was a change of the keyword-names in API-v9)
-
Fixed issues and problems with Interaction.edit and Interaction.respond
Updated to 1.7.5
Updated to version 1.7.5 :changelog:
↔ discord.RawInteractionCreateEvent has been replaced by discord.Interaction.
➕ Added author attribute; this always contains the member (intents must be on) or the user in a guild.
↔ renamed discord.DropdownMenue to discord.SelectionMenue (this is not published by Discord yet and is not usable right now)
➕ Bugs Never checked methods like putting the respond into a variable and editing it have been fixed.
➕ added support for multiple (up to 10) embeds when responding to an interaction
➖ Forgot to add support for about me → will do it for the GitHub version only for now
➕ Documentation has been created (this may still contain many spelling mistakes; if you find any please report them here)
→ Read The Docs
