diff --git a/discord/interactions.py b/discord/interactions.py index 18828d658..ed4ec24e8 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -381,7 +381,8 @@ class Interaction: ) # The message channel types should always match - message = InteractionMessage(state=self._state, channel=self.channel, data=data) # type: ignore + state = _InteractionMessageState(self, self._state) + message = InteractionMessage(state=state, channel=self.channel, data=data) # type: ignore if view and not view.is_finished(): self._state.store_view(view, message.id) return message