ComponentType
Constantes
Numéros de type de tous les composants Discord, de l'action row (1) à la case à cocher (23).
from discord_interactions import ComponentTypeValeurs
| Nom | Valeur |
|---|---|
ActionRow | 1 |
Button | 2 |
StringSelect | 3 |
TextInput | 4 |
UserSelect | 5 |
RoleSelect | 6 |
MentionableSelect | 7 |
ChannelSelect | 8 |
Section | 9 |
TextDisplay | 10 |
Thumbnail | 11 |
MediaGallery | 12 |
File | 13 |
Separator | 14 |
Container | 17 |
Label | 18 |
FileUpload | 19 |
RadioGroup | 21 |
CheckboxGroup | 22 |
Checkbox | 23 |