mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix note in button decorator in action row
This commit is contained in:
1 parent
8f83267ce9
commit
27d69e98e2
1 file changed
+1
@@ -348,6 +348,7 @@ class ActionRow(Item[V]):
|
||||
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.Button` being pressed.
|
||||
|
||||
.. note::
|
||||
|
||||
Buttons with a URL or a SKU cannot be created with this function.
|
||||
|
||||
Reference in new issue
Block a user