From c811932ca7a8e51107558fbf61d46b22ef6399ba Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 31 May 2021 22:57:44 -0400 Subject: [PATCH] Don't mark URL buttons as dispatchable --- discord/ui/button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ui/button.py b/discord/ui/button.py index f75fe92d0..2e4e54fde 100644 --- a/discord/ui/button.py +++ b/discord/ui/button.py @@ -206,7 +206,7 @@ class Button(Item[V]): return self._underlying.to_dict() def is_dispatchable(self) -> bool: - return True + return self.custom_id is not None def refresh_component(self, button: ButtonComponent) -> None: self._underlying = button