mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 10:02:56 +00:00
None check in InteractionResponse.edit_message
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user