Skip to content

Commit 6bbcd56

Browse files
authored
Update interactions.py
1 parent 4b746ef commit 6bbcd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ async def defer(self, *, ephemeral: bool = False) -> None:
429429
defer_type = InteractionResponseType.deferred_channel_message.value
430430
else:
431431
defer_type = InteractionResponseType.deferred_message_update.value
432-
elif parent.type is InteractionResponseType.application_command:
432+
elif parent.type is InteractionType.application_command:
433433
defer_type = InteractionResponseType.deferred_channel_message.value
434434
if ephemeral:
435435
data = {'flags': 64}

0 commit comments

Comments
 (0)