mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
None check in InteractionResponse.edit_message
This commit is contained in:
@ -422,7 +422,7 @@ class InteractionResponse:
|
||||
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)
|
||||
|
||||
self._responded = True
|
||||
|
Reference in New Issue
Block a user