Browse Source
Fix note in button decorator in action row
pull/10273/head
Sacul
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
discord/ui/action_row.py
|
@ -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. |
|
|