diff options
| author | Devon R <[email protected]> | 2021-06-10 20:28:26 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-10 07:28:26 -0400 |
| commit | ee26b58c6c44417f0cbd5a4b9f042f9ed50215dc (patch) | |
| tree | f19a7b7d6f7ec1cd88cfc172b62723b01a04564b /discord/interactions.py | |
| parent | Add category_id shortcut to Thread (diff) | |
| download | discord.py-ee26b58c6c44417f0cbd5a4b9f042f9ed50215dc.tar.xz discord.py-ee26b58c6c44417f0cbd5a4b9f042f9ed50215dc.zip | |
None check in InteractionResponse.edit_message
Diffstat (limited to 'discord/interactions.py')
| -rw-r--r-- | discord/interactions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/interactions.py b/discord/interactions.py index be2743e6..525f6d45 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -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 |