mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-14 17:59:48 +00:00
None check in InteractionResponse.edit_message
This commit is contained in:
parent
fa6fa6a567
commit
ee26b58c6c
@ -422,7 +422,7 @@ class InteractionResponse:
|
|||||||
data=payload,
|
data=payload,
|
||||||
)
|
)
|
||||||
|
|
||||||
if view is not MISSING and not view.is_finished():
|
if view and not view.is_finished():
|
||||||
state.store_view(view, message_id)
|
state.store_view(view, message_id)
|
||||||
|
|
||||||
self._responded = True
|
self._responded = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user