|
@ -411,7 +411,7 @@ class ActionRow(Item[V]): |
|
|
"""A decorator that attaches a select menu to a component. |
|
|
"""A decorator that attaches a select menu to a component. |
|
|
|
|
|
|
|
|
The function being decorated should have three parameters, ``self`` representing |
|
|
The function being decorated should have three parameters, ``self`` representing |
|
|
the :class:`discord.ui.View`, the :class:`discord.Interaction` you receive and |
|
|
the :class:`discord.ui.LayoutView`, the :class:`discord.Interaction` you receive and |
|
|
the chosen select class. |
|
|
the chosen select class. |
|
|
|
|
|
|
|
|
To obtain the selected values inside the callback, you can use the ``values`` attribute of the chosen class in the callback. The list of values |
|
|
To obtain the selected values inside the callback, you can use the ``values`` attribute of the chosen class in the callback. The list of values |
|
|