aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-01 20:33:57 -0400
committerRapptz <[email protected]>2021-07-01 20:33:57 -0400
commit812bfbe6f9b2386de9ec03cc4a933883d2007345 (patch)
treefe526da2e7751348f0e07d3f79b6d92b98c961f6
parentAdd type property to thread channels (diff)
downloaddiscord.py-812bfbe6f9b2386de9ec03cc4a933883d2007345.tar.xz
discord.py-812bfbe6f9b2386de9ec03cc4a933883d2007345.zip
Show Select.values more prominently in the documentation
-rw-r--r--discord/ui/select.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/ui/select.py b/discord/ui/select.py
index f921e22b..e8fe68ad 100644
--- a/discord/ui/select.py
+++ b/discord/ui/select.py
@@ -59,6 +59,8 @@ class Select(Item[V]):
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
Parameters
@@ -291,6 +293,8 @@ def select(
the :class:`discord.ui.View`, the :class:`discord.ui.Select` being pressed and
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
------------