Browse Source

Mention the discord.ui types in the read-only component types

pull/7160/head
Rapptz 4 years ago
parent
commit
9f981e718b
  1. 10
      discord/components.py

10
discord/components.py

@ -132,6 +132,11 @@ class Button(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
Attributes
@ -200,6 +205,11 @@ class SelectMenu(Component):
A select menu is functionally the same as a dropdown, however
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
Attributes

Loading…
Cancel
Save