v1.11.1a1
·
221 commits
to master
since this release
1.11.1a1 - 2023-04-05
Changed
callbackandtypehave been flipped (makingtypethe first argument andcallbackthe second one) for the following functions:ActionRowExecutor.add_select_menuActionColumnExecutor.add_select_menuActionColumnExecutor.add_static_select_menuwith_static_select_menu
- Renamed the component context select menu data properties:
ComponentContext.select_channelstoComponentContext.selected_channelsComponentContext.select_rolestoComponentContext.selected_rolesComponentContext.select_textstoComponentContext.selected_textsComponentContext.select_userstoComponentContext.selected_usersComponentContext.select_memberstoComponentContext.selected_members
Deprecated
- Passing
callbackas the first argument when adding a select menu to a component executor or column. - The
with_{}methods onyuyo.components.ActionColumnExecutor.
Fixed
yuyo.modals.modalandyuyo.modals.as_modalboth now properly support DI for the modal's callback.yuyo.modals.as_modalandyuyo.modals.as_modal_templateboth now allow passingparse_signaturetyping wise.