aboutsummaryrefslogtreecommitdiff
path: root/discord/interactions.py
diff options
context:
space:
mode:
authorDevon R <[email protected]>2021-06-10 20:28:26 +0900
committerGitHub <[email protected]>2021-06-10 07:28:26 -0400
commitee26b58c6c44417f0cbd5a4b9f042f9ed50215dc (patch)
treef19a7b7d6f7ec1cd88cfc172b62723b01a04564b /discord/interactions.py
parentAdd category_id shortcut to Thread (diff)
downloaddiscord.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.py2
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