diff --git a/discord/bot.py b/discord/bot.py index afcaa0d6a0..ee7b598008 100644 --- a/discord/bot.py +++ b/discord/bot.py @@ -719,7 +719,7 @@ async def process_application_commands(self, interaction: Interaction, auto_sync if interaction.type not in ( InteractionType.application_command, InteractionType.auto_complete, - ) and isinstance(interaction.data, interactions.ComponentInteractionData): + ): return command: Optional[ApplicationCommand] = None