We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Interaction.edit_original_message()
1 parent 8475f90 commit d74278fCopy full SHA for d74278f
discord/interactions.py
@@ -397,7 +397,8 @@ async def edit_original_message(
397
)
398
399
# The message channel types should always match
400
- message = InteractionMessage(state=self._state, channel=self.channel, data=data) # type: ignore
+ state = _InteractionMessageState(self, self._state)
401
+ message = InteractionMessage(state=state, channel=self.channel, data=data) # type: ignore
402
if view and not view.is_finished():
403
self._state.store_view(view, message.id)
404
0 commit comments