We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AllowedLabelComponents
1 parent 8bdcedd commit dea292aCopy full SHA for dea292a
discord/components/label.py
@@ -39,12 +39,16 @@
39
40
from discord.state import ConnectionState
41
42
+ from .channel_select_menu import ChannelSelect
43
from .file_upload import FileUpload
44
from .input_text import TextInput
45
+ from .mentionable_select_menu import MentionableSelect
46
from .string_select_menu import StringSelect
47
from .user_select_menu import UserSelect
48
- AllowedLabelComponents: TypeAlias = StringSelect | UserSelect | TextInput | FileUpload
49
+ AllowedLabelComponents: TypeAlias = (
50
+ StringSelect | UserSelect | TextInput | FileUpload | MentionableSelect | ChannelSelect
51
+ )
52
53
54
class Label(
0 commit comments