Skip to content

v1.11.1a1

Choose a tag to compare

@FasterSpeeding FasterSpeeding released this 05 Apr 21:40
· 221 commits to master since this release
3598045

1.11.1a1 - 2023-04-05

Changed

  • callback and type have been flipped (making type the first argument and callback the second one) for the following functions:
    • ActionRowExecutor.add_select_menu
    • ActionColumnExecutor.add_select_menu
    • ActionColumnExecutor.add_static_select_menu
    • with_static_select_menu
  • Renamed the component context select menu data properties:
    • ComponentContext.select_channels to ComponentContext.selected_channels
    • ComponentContext.select_roles to ComponentContext.selected_roles
    • ComponentContext.select_texts to ComponentContext.selected_texts
    • ComponentContext.select_users to ComponentContext.selected_users
    • ComponentContext.select_members to ComponentContext.selected_members

Deprecated

  • Passing callback as the first argument when adding a select menu to a component executor or column.
  • The with_{} methods on yuyo.components.ActionColumnExecutor.

Fixed

  • yuyo.modals.modal and yuyo.modals.as_modal both now properly support DI for the modal's callback.
  • yuyo.modals.as_modal and yuyo.modals.as_modal_template both now allow passing parse_signature typing wise.