Skip to content

Commit dea292a

Browse files
committed
🐛 Fix AllowedLabelComponents typing
Signed-off-by: Paillat-dev <[email protected]>
1 parent 8bdcedd commit dea292a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

discord/components/label.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,16 @@
3939

4040
from discord.state import ConnectionState
4141

42+
from .channel_select_menu import ChannelSelect
4243
from .file_upload import FileUpload
4344
from .input_text import TextInput
45+
from .mentionable_select_menu import MentionableSelect
4446
from .string_select_menu import StringSelect
4547
from .user_select_menu import UserSelect
4648

47-
AllowedLabelComponents: TypeAlias = StringSelect | UserSelect | TextInput | FileUpload
49+
AllowedLabelComponents: TypeAlias = (
50+
StringSelect | UserSelect | TextInput | FileUpload | MentionableSelect | ChannelSelect
51+
)
4852

4953

5054
class Label(

0 commit comments

Comments
 (0)