Skip to content

Commit e12b90a

Browse files
committed
Fix TypeError in process_application_commands (#1622)
1 parent 5d75e79 commit e12b90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ async def process_application_commands(self, interaction: Interaction, auto_sync
719719
if interaction.type not in (
720720
InteractionType.application_command,
721721
InteractionType.auto_complete,
722-
) and isinstance(interaction.data, interactions.ComponentInteractionData):
722+
):
723723
return
724724

725725
command: Optional[ApplicationCommand] = None

0 commit comments

Comments
 (0)