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

fix

30 Aug 17:13
Compare
Choose a tag to compare
fix

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

Fixed

  • import issue with discord.ext.command

cogs

29 Aug 21:02
Compare
Choose a tag to compare

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

Added

You now have much more control over your slash commands!

  • Permissions

You can update your permissions with the Slash.update_permissions function

  • Creating commands

You can now create slash commands without the decorator in a much more eaisier way! Check out the Slash.add_command function

  • Edit commands

You can edit commands in code with the Slash.edit_command function

  • Listening components

You can add and remove listening components now with the Components.add_listening_component, Components.remove_listening_component and Components.remove_listening_components functions

  • Cogs

You can now use cog decorators like slash_cog, subslash_cog and listening_component_cog

Fixed

  • SlashCommand

Slash commands wouldn't be updated if only default_permission was changed

Changed

  • wait_for

Message.wait_for now takes by and check as parameters and event_name and client switched place (wait_for(client, "event_name") is now wait_for("event_name", client))

  • listening components

You can specify listening_components now more presicely, you can add messages, users, and a check to filter

  • Interaction.member

Interaction.member is now Interaction.author

  • listening comonents

Listening component callback functions now only take one parameter, the used component

  • on_button_press and on_menu_select

These events now take a sole parameter, the used component. If you want to acces to message, use passed_component.message

Removed

  • ResponseMessage

Removed ResponseMessage

major issue fix

26 Aug 22:38
Compare
Choose a tag to compare

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

Fixed

  • component fix

receiving components would throw an error, fixed now

edit update

26 Aug 11:42
Compare
Choose a tag to compare

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

Changed

  • edit

Message.edit now takes a embed parameter

Fixed

  • print

Forgot to remove some print statements

dpy v2 fix

25 Aug 20:28
Compare
Choose a tag to compare

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

Added

  • class representation

classes have now a __repr__ function

  • UI(override_dpy)

You can now choose whether you want to override some of dpy objects and functions (default is True) (see the override module for more information)
This also appeals to the Components class (Components(override_dpy))
note: if you don't want to create a UI object, you can instead override dpy with the override_dpy method

from discord_ui import override_dpy
override_dpy()

Fixed

  • dpy2

discord.py v2 now auto-decompresses socket data and passes a string instead of the uncompressed data.

  • override dpy message

when overriding dpy message object, the components would mix

EphemeralResponseMessage

24 Aug 15:25
Compare
Choose a tag to compare

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

Added

  • EphemeralResponseMessage

You can now edit hidden messages which where created from an interaction

v3.3.1

22 Aug 20:56
Compare
Choose a tag to compare

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

Added

  • interaction

Interaction.channel and Interaction.guild

Final fix

22 Aug 17:45
Compare
Choose a tag to compare

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

This will (hopefully) be the last fix. If you still find any issues, please report them

Fixed

  • dm interactions

ratelimit

22 Aug 16:58
Compare
Choose a tag to compare

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

Added

  • ratelimit fix

The lib will now retry after the ratelimit reset and doesn't throw an HTTPException anymore

Fixed

  • sync_commands

Got KeyError exception while syncing commands

v3.2.8

22 Aug 12:43
Compare
Choose a tag to compare

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

Sorry for all these issues :[

Fixed

  • hidden responding

When a hidden response was about to be send without defering the interaction it would thrown an error