@@ -735,11 +735,19 @@ def uses_label(self) -> bool:
735
735
ChannelSelect = Select [V , GuildChannel | Thread ]
736
736
"""A typed alias for :class:`Select` for channel values."""
737
737
else :
738
- StringSelect : Select [V , str ] = partial (Select , select_type = ComponentType .string_select )
739
- UserSelect : Select [V , User | Member ] = partial (Select , select_type = ComponentType .user_select )
738
+ StringSelect : Select [V , str ] = partial (
739
+ Select , select_type = ComponentType .string_select
740
+ )
741
+ UserSelect : Select [V , User | Member ] = partial (
742
+ Select , select_type = ComponentType .user_select
743
+ )
740
744
RoleSelect : Select [V , Role ] = partial (Select , select_type = ComponentType .role_select )
741
- MentionableSelect : Select [V , Role | User | Member ] = partial (Select , select_type = ComponentType .mentionable_select )
742
- ChannelSelect : Select [V , GuildChannel | Thread ] = partial (Select , select_type = ComponentType .channel_select )
745
+ MentionableSelect : Select [V , Role | User | Member ] = partial (
746
+ Select , select_type = ComponentType .mentionable_select
747
+ )
748
+ ChannelSelect : Select [V , GuildChannel | Thread ] = partial (
749
+ Select , select_type = ComponentType .channel_select
750
+ )
743
751
744
752
745
753
_select_types = (
@@ -987,7 +995,8 @@ def mentionable_select(
987
995
id : int | None = None ,
988
996
default_values : Sequence [SelectDefaultValue | Snowflake ] | None = None ,
989
997
) -> Callable [
990
- [ItemCallbackType [MentionableSelect [V ]]], MentionableSelect [V ],
998
+ [ItemCallbackType [MentionableSelect [V ]]],
999
+ MentionableSelect [V ],
991
1000
]:
992
1001
"""A shortcut for :meth:`discord.ui.select` with select type :attr:`discord.ComponentType.mentionable_select`.
993
1002
0 commit comments