From ff36aedf7bbc04780cbd4efdbfa278a0b7aee404 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 28 May 2021 02:41:52 -0400 Subject: Add support for reading SelectMenu components from messages --- docs/api.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs') 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 ~~~~~~~~~~ -- cgit v1.2.3