mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-28 14:05:05 +00:00
Fix note in button decorator in action row
This commit is contained in:
parent
8f83267ce9
commit
27d69e98e2
@ -348,6 +348,7 @@ class ActionRow(Item[V]):
|
|||||||
The function being decorated should have three parameters, ``self`` representing
|
The function being decorated should have three parameters, ``self`` representing
|
||||||
the :class:`discord.ui.ActionRow`, the :class:`discord.Interaction` you receive and
|
the :class:`discord.ui.ActionRow`, the :class:`discord.Interaction` you receive and
|
||||||
the :class:`discord.ui.Button` being pressed.
|
the :class:`discord.ui.Button` being pressed.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
Buttons with a URL or a SKU cannot be created with this function.
|
Buttons with a URL or a SKU cannot be created with this function.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user