discord-interactions.py

ComponentType

Constants

Type numbers of every Discord component, from action row (1) to checkbox (23).

from discord_interactions import ComponentType

Values

NameValue
ActionRow1
Button2
StringSelect3
TextInput4
UserSelect5
RoleSelect6
MentionableSelect7
ChannelSelect8
Section9
TextDisplay10
Thumbnail11
MediaGallery12
File13
Separator14
Container17
Label18
FileUpload19
RadioGroup21
CheckboxGroup22
Checkbox23

Type a name: create_button, ModalBuilder, cooldown.