Skip to content

v1.2.0: features & bug fixes

Latest
Compare
Choose a tag to compare
@Soheab Soheab released this 18 Feb 00:38

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