|
31 | 31 | from .user_select_menu import UserSelect |
32 | 32 |
|
33 | 33 | AnyComponent: TypeAlias = ( |
34 | | - ActionRow |
35 | | - | Button |
36 | | - | StringSelect |
37 | | - | TextInput |
38 | | - | UserSelect |
39 | | - | RoleSelect |
40 | | - | MentionableSelect |
41 | | - | ChannelSelect |
42 | | - | Section |
43 | | - | TextDisplay |
44 | | - | Thumbnail |
45 | | - | MediaGallery |
46 | | - | FileComponent |
47 | | - | Separator |
48 | | - | Container |
49 | | - | Label |
50 | | - | UnknownComponent |
| 34 | + ActionRow |
| 35 | + | Button |
| 36 | + | StringSelect |
| 37 | + | TextInput |
| 38 | + | UserSelect |
| 39 | + | RoleSelect |
| 40 | + | MentionableSelect |
| 41 | + | ChannelSelect |
| 42 | + | Section |
| 43 | + | TextDisplay |
| 44 | + | Thumbnail |
| 45 | + | MediaGallery |
| 46 | + | FileComponent |
| 47 | + | Separator |
| 48 | + | Container |
| 49 | + | Label |
| 50 | + | UnknownComponent |
51 | 51 | ) |
52 | 52 |
|
53 | 53 | AnyTopLevelMessageComponent: TypeAlias = ( |
|
57 | 57 | AnyTopLevelModalComponent: TypeAlias = TextDisplay | Label |
58 | 58 |
|
59 | 59 | AnyInteractionComponent: TypeAlias = ( |
60 | | - InteractionLabel |
61 | | - | InteractionTextInput |
62 | | - | InteractionStringSelect |
63 | | - | InteractionTextDisplay |
64 | | - | InteractionUserSelect |
65 | | - | InteractionRoleSelect |
66 | | - | InteractionMentionableSelect |
67 | | - | InteractionChannelSelect |
68 | | - | UnknownInteractionComponent |
69 | | - | InteractionButton |
| 60 | + InteractionLabel |
| 61 | + | InteractionTextInput |
| 62 | + | InteractionStringSelect |
| 63 | + | InteractionTextDisplay |
| 64 | + | InteractionUserSelect |
| 65 | + | InteractionRoleSelect |
| 66 | + | InteractionMentionableSelect |
| 67 | + | InteractionChannelSelect |
| 68 | + | UnknownInteractionComponent |
| 69 | + | InteractionButton |
70 | 70 | ) |
71 | 71 |
|
72 | 72 | AnyTopLevelModalInteractionComponent: TypeAlias = ( |
73 | 73 | InteractionLabel | InteractionTextDisplay | UnknownInteractionComponent |
74 | 74 | ) |
75 | 75 |
|
76 | 76 | AnyMessageInteractionComponent: TypeAlias = ( |
77 | | - InteractionStringSelect |
78 | | - | InteractionUserSelect |
79 | | - | InteractionRoleSelect |
80 | | - | InteractionMentionableSelect |
81 | | - | InteractionButton |
82 | | - | InteractionChannelSelect |
83 | | - | UnknownInteractionComponent |
| 77 | + InteractionStringSelect |
| 78 | + | InteractionUserSelect |
| 79 | + | InteractionRoleSelect |
| 80 | + | InteractionMentionableSelect |
| 81 | + | InteractionButton |
| 82 | + | InteractionChannelSelect |
| 83 | + | UnknownInteractionComponent |
84 | 84 | ) |
85 | 85 |
|
86 | 86 | __all__ = ("AnyComponent",) |
0 commit comments