Skip to content

Releases: Soheab/modal-paginator

v1.3.0

02 May 21:36

Choose a tag to compare

v1.3.0

Warning

Heads up! This version is the last version that supports a lower version of discord.py than 2.5.2.

Please update your discord.py version to 2.5.2 or higher to use this extension.

Features

  • (b17db08) Added a support for __iter__ to ModalPaginator.
    This means you can now easily iterate over all modals and their text inputs:

    for modal, text_inputs in paginator:
        ...
  • (6adc7b) Added two new kwargs to ModalPaginator.from_text_inputs

    • max_inputs_per_modal

    • titles_steps

    See the kwarg's docstring for more information.

Bug Fixes

  • (ba5e8a9) Fix a bug where it couldn't edit it's own message due to a semi-breaking change in discord.py 2.5.0.

New Contributors

  • @DA-344 made their first contribution in #1

Full Changelog: 1.2.0...1.3.0

v1.2.0: features & bug fixes

18 Feb 00:38

Choose a tag to compare

v1.2.0

Features

  • (b3e5280) Added two new kwargs to ModalPaginator.send :

    • add_page_string

    • return_message

    See the kwarg's docstring for more information.

  • (c9509c1) ModalPaginator.from_text_inputs can now take a list of str
    (or mixed with discord.ui.TextInput) instead of a list of discord.ui.TextInput. This is useful
    if you don't want to construct a :class:.discord.ui.TextInput.

  • (78104ba) - Added a new property to PaginatorModal:

    • PaginatorModal.text_inputs

    This is also used in ModalPaginator.text_inputs.

    See the property's docstring for more information.

Bug Fixes

  • (b3e5280) **kwargs in ModalPaginator.send are now properly passed to the destination.

Full Changelog: 1.1.1...1.2.0

v1.1.1: Correct discord.py dep version

20 Nov 21:11

Choose a tag to compare

v1.1.0: QoL!

06 Nov 21:52

Choose a tag to compare

First stable release!

17 Sep 17:40

Choose a tag to compare

v1.0.0

  • First stable release!
  • Added the ability to customize the buttons of the paginator. See the buttons= kwarg on ModalPaginator for more information.

Initial Release!

08 Sep 14:19

Choose a tag to compare

0.0.1

Bump version to 0.0.1 for PyPi release