Skip to content

Commit

Permalink
Fix TypeError in process_application_commands (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobDotCom authored Sep 6, 2022
1 parent e960842 commit d9f7198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9f7198

Please sign in to comment.