Releases: discord-py-ui/discord-ui
v4.3.8 - fix
https://pypi.org/project/discord-ui/4.3.8/
Fixed
- SlashOption subcommand issue
SlashOption required is now False by default again
v4.3.7 - Fix + No Decompressing
https://pypi.org/project/discord-ui/4.3.7/
Changed
- SlashOption
Required is now
True
by default
Fixed
AttributeError: 'LinkButton' object has no attribute 'component_type'
Removed
- decompressing
The lib now doesn't decompress byte data anymore, which means everything before the dpy commit
848d752
doesn't work with this lib.
This is removed because theon_socket_raw
event which was needed in order to receive interaction now returns the message with the type str, not bytes anymore which had to be decompressed.
There were some problems with decompressing and that's why we removed itmessage reference to the change in the discord.py discord server
v4.3.6 - fix
v4.3.5 - DM issue fix
v4.3.4 - Bugfixes
Fixed
- SlashOption not accepting tuple
Another fix
fix
https://pypi.org/project/discord-ui/4.3.2/
Fixed
-
Could not find a matching option type for parameter '<class 'NoneType'>'
cleanup
Extension
https://pypi.org/project/discord-ui/4.3.0/
Fixed
Message.wait_for
by keyword doesn't work properly
Removed
- Hash
Removed the hash property from Buttons and SelectMenus due to the removal of it from the api
Added
discord_ui.ext
A module with usefull tools and decorators to use more information
- BaseCommand
BaseCommand (the superclass for all applicationcommands) has now some extra properties:
- is_chat_input
> Whether this command is a slash command
- is_message_context
> Whether this command is a message context command
- is_user_context
> Whether this command is a user context command
- SlashedCommand
Added properties:
- is_alias
> Whether the invoked command is an alias or not
- aliases
> All the available aliases for the command
- Listeners
Listeners are something that you can use for a better processing of received components.
You could see them as a cog to the message components
more information
Changed
- SelectedMenu
SelectedMenu.selected_values
are not the raw values that were selected,SelectMenu.selected_options
are the options of typeSlashOption
that were selected
- MISSING => None
All instance values that were
MISSING
by default are nowNone