Sync views in InteractionResponse.edit_message

This commit is contained in:
Rapptz 2021-05-31 00:09:15 -04:00
parent 9f98a9a87f
commit 61a189c217

View File

@ -417,4 +417,10 @@ class InteractionResponse:
type=InteractionResponseType.message_update.value,
data=payload,
)
if view is not MISSING:
msg = self._parent.message
message_id = msg.id if msg else None
self._parent._state.store_view(view, message_id)
self._responded = True