From 27d69e98e2e9c5632bfd1d1b9ae6981d0b0fef72 Mon Sep 17 00:00:00 2001 From: Sacul Date: Wed, 20 Aug 2025 16:04:50 +0800 Subject: [PATCH] Fix note in button decorator in action row --- discord/ui/action_row.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/ui/action_row.py b/discord/ui/action_row.py index 1cdf4b6f1..5b7dd4a27 100644 --- a/discord/ui/action_row.py +++ b/discord/ui/action_row.py @@ -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.