Skip to content

v1.13.0a1

Choose a tag to compare

@FasterSpeeding FasterSpeeding released this 25 Apr 02:15
· 174 commits to master since this release
9ac5a4d

1.13.0a1 - 2023-04-25

Added

  • components.Paginator alias of components.ComponentPaginator.
  • reactions.Handler alias of reactions.ReactionHandler.
  • reactions.Paginator alias of reactions.ReactionPaginator.

Changed

  • ComponentPaginator now implements ActionColumnExecutor rather than ActionRowExecutor.
    The main (breaking) consequence of this change is that you now need to pass pagintor.rows to components rather than passing the paginator itself to component.
  • Moved out the paginator logic used by yuyo.components.ComponentPaginator and yuyo.reactions.ReactionPaginator to the new yuyo.pagination.Paginator class.

Deprecated

  • yuyo.components.ActionRowExecutor in favour of the action column executor.
  • ActionColumnExecutor.add_row.

Fixed

  • reactions.Client now correctly points towards reactions.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

  • timeout argument from ComponentPaginator.__init__.
  • "WaitFor" from yuyo.components.__all__.