From 5b81a99b60ce89e4e9f412aa957dc74dd5c91a4b Mon Sep 17 00:00:00 2001 From: Mohammed Aman Jukaku <59416451+Amjuks@users.noreply.github.com> Date: Sun, 27 Jul 2025 23:13:21 +0530 Subject: [PATCH] Fix error when sending non-interactive views via partial webhooks --- discord/webhook/async_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 3b62b10fa..dbb3f1ed9 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -1872,7 +1872,7 @@ class Webhook(BaseWebhook): if wait: msg = self._create_message(data, thread=thread) - if view is not MISSING and not view.is_finished(): + if view is not MISSING and not view.is_finished() and view.is_dispatchable(): message_id = None if msg is None else msg.id self._state.store_view(view, message_id)