Sync views in InteractionResponse.edit_message
This commit is contained in:
@@ -417,4 +417,10 @@ class InteractionResponse:
|
|||||||
type=InteractionResponseType.message_update.value,
|
type=InteractionResponseType.message_update.value,
|
||||||
data=payload,
|
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
|
self._responded = True
|
||||||
|
|||||||
Reference in New Issue
Block a user