mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-03 18:42:43 +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,
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user