v1.13.0a1
·
174 commits
to master
since this release
1.13.0a1 - 2023-04-25
Added
components.Paginatoralias ofcomponents.ComponentPaginator.reactions.Handleralias ofreactions.ReactionHandler.reactions.Paginatoralias ofreactions.ReactionPaginator.
Changed
ComponentPaginatornow implementsActionColumnExecutorrather thanActionRowExecutor.
The main (breaking) consequence of this change is that you now need to passpagintor.rowstocomponentsrather than passing the paginator itself tocomponent.- Moved out the paginator logic used by
yuyo.components.ComponentPaginatorandyuyo.reactions.ReactionPaginatorto the newyuyo.pagination.Paginatorclass.
Deprecated
yuyo.components.ActionRowExecutorin favour of the action column executor.ActionColumnExecutor.add_row.
Fixed
reactions.Clientnow correctly points towardsreactions.ReactionClient.- Some edge cases where the paginators were sending the current page in response to a reaction/interaction instead of giving a noop response or just not responding.
Removed
timeoutargument fromComponentPaginator.__init__."WaitFor"fromyuyo.components.__all__.