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_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
andComponents.remove_listening_components
functions
- Cogs
You can now use cog decorators like
slash_cog
,subslash_cog
andlistening_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
andcheck
as parameters andevent_name
andclient
switched 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.member
is nowInteraction.author
- listening comonents
Listening component callback functions now only take one parameter, the used component
on_button_press
andon_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.edit
now takes aembed
parameter
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 theComponents
class (Components(override_dpy))
note: if you don't want to create aUI
object, you can instead override dpy with theoverride_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
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.channel
andInteraction.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
KeyError
exception 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