diff --git a/discord/interactions.py b/discord/interactions.py index 5638886b3..f471e2040 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -949,7 +949,7 @@ class InteractionResponse(Generic[ClientT]): message_id = msg.id # If this was invoked via an application command then we can use its original interaction ID # Since this is used as a cache key for view updates - original_interaction_id = msg.interaction.id if msg.interaction is not None else None + original_interaction_id = msg.interaction_metadata.id if msg.interaction_metadata is not None else None else: message_id = None original_interaction_id = None