mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 04:17:16 +00:00
Show Select.values more prominently in the documentation
This commit is contained in:
parent
64b48431b4
commit
812bfbe6f9
@ -59,6 +59,8 @@ class Select(Item[V]):
|
|||||||
|
|
||||||
This is usually represented as a drop down menu.
|
This is usually represented as a drop down menu.
|
||||||
|
|
||||||
|
In order to get the selected items that the user has chosen, use :attr:`Select.values`.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
@ -291,6 +293,8 @@ def select(
|
|||||||
the :class:`discord.ui.View`, the :class:`discord.ui.Select` being pressed and
|
the :class:`discord.ui.View`, the :class:`discord.ui.Select` being pressed and
|
||||||
the :class:`discord.Interaction` you receive.
|
the :class:`discord.Interaction` you receive.
|
||||||
|
|
||||||
|
In order to get the selected items that the user has chosen within the callback
|
||||||
|
use :attr:`Select.values`.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user