Releases: discord-py-ui/discord-ui
fix
cogs
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_permissionsfunction
- Creating commands
You can now create slash commands without the decorator in a much more eaisier way! Check out the
Slash.add_commandfunction
- Edit commands
You can edit commands in code with the
Slash.edit_commandfunction
- Listening components
You can add and remove listening components now with the
Components.add_listening_component,Components.remove_listening_componentandComponents.remove_listening_componentsfunctions
- Cogs
You can now use cog decorators like
slash_cog,subslash_cogandlistening_component_cog
Fixed
- SlashCommand
Slash commands wouldn't be updated if only
default_permissionwas changed
Changed
- wait_for
Message.wait_for now takes
byandcheckas parameters andevent_nameandclientswitched place (wait_for(client, "event_name")is nowwait_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.memberis nowInteraction.author
- listening comonents
Listening component callback functions now only take one parameter, the used component
on_button_pressandon_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
https://pypi.org/project/discord-ui/3.3.5/
Fixed
- component fix
receiving components would throw an error, fixed now
edit update
https://pypi.org/project/discord-ui/3.3.4/
Changed
- edit
Message.editnow takes aembedparameter
Fixed
Forgot to remove some
dpy v2 fix
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 theComponentsclass (Components(override_dpy))
note: if you don't want to create aUIobject, you can instead override dpy with theoverride_dpymethod
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
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
https://pypi.org/project/discord-ui/3.3.1/
Added
- interaction
Interaction.channelandInteraction.guild
Final fix
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
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
KeyErrorexception while syncing commands
v3.2.8
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