Browse Source

None check in InteractionResponse.edit_message

pull/7040/head
Devon R 4 years ago
committed by GitHub
parent
commit
ee26b58c6c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/interactions.py

2
discord/interactions.py

@ -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…
Cancel
Save