Browse Source

Show Select.values more prominently in the documentation

pull/7154/head
Rapptz 4 years ago
parent
commit
812bfbe6f9
  1. 4
      discord/ui/select.py

4
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
------------

Loading…
Cancel
Save