Bases¶
components
¶
Component
dataclass
¶
Bases: DataModel
flowchart TD
scurrypy.bases.components.Component[Component]
scurrypy.core.model.DataModel[DataModel]
scurrypy.core.model.DataModel --> scurrypy.bases.components.Component
click scurrypy.bases.components.Component href "" "scurrypy.bases.components.Component"
click scurrypy.core.model.DataModel href "" "scurrypy.core.model.DataModel"
Marker class for all interaction components and containers.
ActionRowChild
¶
Marker class for all components that go into an action row.
Children
Button,
StringSelect,
UserSelect,
RoleSelect,
MentionableSelect,
ChannelSelect
SectionChild
¶
SectionAccessoryChild
¶
ContainerChild
¶
Marker class for all components that go into a container.
Children
ActionRow,
TextDisplay,
Section,
MediaGallery,
Separator,
File
LabelChild
¶
Marker class for all components that go into a label.
Children
TextInput,
StringSelect,
UserSelect,
RoleSelect,
MentionableSelect,
ChannelSelect,
FileUpload
RadioGroup
CheckboxGroup
Checkbox