Mention the discord.ui types in the read-only component types
This commit is contained in:
parent
88620d052a
commit
9f981e718b
@ -132,6 +132,11 @@ class Button(Component):
|
|||||||
|
|
||||||
This inherits from :class:`Component`.
|
This inherits from :class:`Component`.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The user constructible and usable type to create a button is :class:`discord.ui.Button`
|
||||||
|
not this one.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
@ -200,6 +205,11 @@ class SelectMenu(Component):
|
|||||||
A select menu is functionally the same as a dropdown, however
|
A select menu is functionally the same as a dropdown, however
|
||||||
on mobile it renders a bit differently.
|
on mobile it renders a bit differently.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The user constructible and usable type to create a select menu is
|
||||||
|
:class:`discord.ui.Select` not this one.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user