aboutsummaryrefslogtreecommitdiff
path: root/discord/interactions.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/interactions.py')
-rw-r--r--discord/interactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/interactions.py b/discord/interactions.py
index 5017df95..3ff8d84f 100644
--- a/discord/interactions.py
+++ b/discord/interactions.py
@@ -418,7 +418,7 @@ class InteractionResponse:
data=payload,
)
- if view is not MISSING:
+ if view is not MISSING and not view.is_finished():
msg = self._parent.message
message_id = msg.id if msg else None
self._parent._state.store_view(view, message_id)