mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
Add support for label components and select in modals
This commit is contained in:
@ -113,6 +113,15 @@ TextInput
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
LabelComponent
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. attributetable:: LabelComponent
|
||||
|
||||
.. autoclass:: LabelComponent()
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
|
||||
SectionComponent
|
||||
~~~~~~~~~~~~~~~~
|
||||
@ -425,7 +434,7 @@ Enumerations
|
||||
.. attribute:: media_gallery
|
||||
|
||||
Represents a media gallery component.
|
||||
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
.. attribute:: file
|
||||
@ -446,6 +455,12 @@ Enumerations
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
.. attribute:: label
|
||||
|
||||
Represents a label container component, usually in a modal.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
.. class:: ButtonStyle
|
||||
|
||||
Represents the style of the button component.
|
||||
@ -742,6 +757,15 @@ File
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
Label
|
||||
~~~~~~
|
||||
|
||||
.. attributetable:: discord.ui.Label
|
||||
|
||||
.. autoclass:: discord.ui.Label
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
|
||||
MediaGallery
|
||||
~~~~~~~~~~~~
|
||||
|
Reference in New Issue
Block a user