mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Sync views in InteractionResponse.edit_message
This commit is contained in:
parent
9f98a9a87f
commit
61a189c217
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user