aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-05-28 02:41:52 -0400
committerRapptz <[email protected]>2021-05-28 05:34:21 -0400
commitff36aedf7bbc04780cbd4efdbfa278a0b7aee404 (patch)
treea3ab33c3c2705c210df31c5e65433ca808569c83 /docs
parentMove ActionRow to its own separate type split from Component (diff)
downloaddiscord.py-ff36aedf7bbc04780cbd4efdbfa278a0b7aee404.tar.xz
discord.py-ff36aedf7bbc04780cbd4efdbfa278a0b7aee404.zip
Add support for reading SelectMenu components from messages
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 5639b85e..62764a23 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -1224,6 +1224,10 @@ of :class:`enum.Enum`.
.. attribute:: button
Represents a button component.
+ .. attribute:: select
+
+ Represents a select component.
+
.. class:: ButtonStyle
@@ -2902,6 +2906,15 @@ Button
:members:
:inherited-members:
+SelectMenu
+~~~~~~~~~~~
+
+.. attributetable:: SelectMenu
+
+.. autoclass:: SelectMenu()
+ :members:
+ :inherited-members:
+
DeletedReferencedMessage
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -3316,6 +3329,14 @@ PartialMessage
.. autoclass:: PartialMessage
:members:
+SelectOption
+~~~~~~~~~~~~~
+
+.. attributetable:: SelectOption
+
+.. autoclass:: SelectOption
+ :members:
+
Intents
~~~~~~~~~~