You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed ButtonStyle and ButtonColor from components.py and place it in enums.py. Everything that was under ButtonColor and all aliases for the styles are now in ButtonStyle. ButtonColor will still as an alias for ButtonStyle
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Version 1.7.5.4
Added
Added full support for Select-Menus
Added SelectOption to create options for a SelectMenu
Added custom decorators so you could make a function for a specified custom_id(normal use with @client.on_click()/@client.on_select() and in Cogs with @commands.Cog.on_click()/@commands.Cog.on_select())
Take a look at the docs for examples and CO.
Added support for different response_types when deferring a Interaction
Added a created_at attribute to Interaction witch returns the creation date of the Interaction in UTC
Added a function to create a styled timestamp (in utils.py)
Added TimestampStyle to use in styled_timestamp
Changed
Removed
ButtonStyle
andButtonColor
from components.py and place it in enums.py. Everything that was underButtonColor
and all aliases for the styles are now in ButtonStyle.ButtonColor
will still as an alias for ButtonStyleraw_button_click and raw_selection_select events now also have an second parameter which contains the component
Changed the websocket from v6 to v9
Changed the default value of
guild_id
in the Interaction fromNone
to0
Fixed
Fixed an issue when creating Channels and purging them(dk. wy but there was an
_
instead of a-
in the bulk-delete URL)Fixed problems with permissions (the reason was a change of the keyword-names in API-v9)
Fixed issues and problems with Interaction.edit and Interaction.respond
This discussion was created from the release Release v1.7.5.4.
Beta Was this translation helpful? Give feedback.
All reactions