Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Releases: discord-py-ui/discord-ui

v4.3.8 - fix

15 Sep 06:42
Compare
Choose a tag to compare

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

15 Sep 06:30
Compare
Choose a tag to compare

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 the on_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 it

message reference to the change in the discord.py discord server

v4.3.6 - fix

12 Sep 19:37
Compare
Choose a tag to compare

https://pypi.org/project/discord-ui/4.3.6/

Fixed

  • Slashcommand comparing
  • Ephemeralmessage KeyError

v4.3.5 - DM issue fix

12 Sep 10:04
Compare
Choose a tag to compare

v4.3.4 - Bugfixes

11 Sep 16:31
Compare
Choose a tag to compare

Fixed

  • SlashOption not accepting tuple

Another fix

11 Sep 10:52
Compare
Choose a tag to compare

https://pypi.org/project/discord-ui/4.3.3/

Fixed

  • fixed TypeError: 'NoneType' object is not iterable

fix

11 Sep 08:56
Compare
Choose a tag to compare
fix

https://pypi.org/project/discord-ui/4.3.2/

Fixed

  •  Could not find a matching option type for parameter '<class 'NoneType'>'

cleanup

10 Sep 23:04
Compare
Choose a tag to compare

https://pypi.org/project/discord-ui/4.3.1/

Removed

  • unused parameter and cleaned code up

Extension

10 Sep 22:24
Compare
Choose a tag to compare

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 type SlashOption that were selected

  • MISSING => None

All instance values that were MISSING by default are now None

fix

08 Sep 05:41
Compare
Choose a tag to compare