Releases: FasterSpeeding/Yuyo
Releases · FasterSpeeding/Yuyo
v1.21.1
v1.21.0
v1.20.0
v1.19.1
v1.19.0
1.19.0 - 2023-08-30
Added
ComponentClient.get_executor
method for getting the executor registered globally for a specific custom ID.
Changed
- The ephemeral default is now ignored for message update create initial response and defer calls. (This likely won't effect real world behaviour).
Fixed
- Explicitly passing
ephemeral=False
tocreate_initial_response
orcreate_followup
will now correctly override the client-level ephemeral default. - The component paginator will no-longer error out with a "Initial response has already been created" error when the jump to last page button tries to push the internal generator forwards only to find out it's depleted.
v1.18.0
1.18.0 - 2023-08-23
Added
yuyo.components.builder
(a class descriptor),ActionColumnExecutor.add_builder
, andActionColumnExecutor.add_static_builder
functions and methods for adding raw component builders to a column without an associated callback.
Changed
yuyo.pagination.Page
is now exported top-level atYuyo.Page
.
Fixed
- Properly track method names for callbacks registered using
as_interactive_button
. This allows the custom ID metadata to be overridden by passingid_metadata={"function_name": "METADATA"}
toActionColumnExecutor.__init__
.
v1.17.0
1.17.0 - 2023-08-18
Added
- Wait for implementation for modals.
Changed
Page.__init__
's signature now more closely Hikari's message create methods: with newattachment
andembed
keyword arguments for passing singular values while also now allowing an embed or file to be passed ascontent
.
Fixed
- Timed out individual requests will no-longer lead to the chunk tracker crashing.
v1.16.0
v1.15.0
1.15.0 - 2023-08-10
Added
- Support customising the
response_type
when deferring and creating the initial response to a modal call. .cache
,.events
,.rest
,.server
,.shards
and.voice
attributes toyuyo.ComponentClient
,yuyo.ComponentContext
,yuyo.ModalClient
, andyuyo.ModalContext
which represent parts of the linked Hikari bot in a similar style to Tanjun.- The following utility attributes to
yuyo.ComponentContext
andyuyo.ModalContext
which mostly relay attributes from the inner interaction:.author
,.channel_id
,.created_at
,.guild_id
,.member
,.shard
.