Browse Source

Fix note in button decorator in action row

pull/10273/head
Sacul 1 week ago
committed by GitHub
parent
commit
27d69e98e2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      discord/ui/action_row.py

1
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.

Loading…
Cancel
Save