Skip to content

Commit

Permalink
Merge pull request Pycord-Development#437 from plun1331/patch-2
Browse files Browse the repository at this point in the history
Bug Fix
  • Loading branch information
Lulalaby authored Nov 11, 2021
2 parents 4b746ef + 6bbcd56 commit c5eef49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ async def defer(self, *, ephemeral: bool = False) -> None:
defer_type = InteractionResponseType.deferred_channel_message.value
else:
defer_type = InteractionResponseType.deferred_message_update.value
elif parent.type is InteractionResponseType.application_command:
elif parent.type is InteractionType.application_command:
defer_type = InteractionResponseType.deferred_channel_message.value
if ephemeral:
data = {'flags': 64}
Expand Down

0 comments on commit c5eef49

Please sign in to comment.