-
-
Notifications
You must be signed in to change notification settings - Fork 477
Open
Labels
Milestone
Description
Line: 804
Lines 801 to 811 in 6ab3292
""" | |
if auto_sync is None: | |
auto_sync = self._bot.auto_sync_commands | |
# TODO: find out why the isinstance check below doesn't stop the type errors below | |
if interaction.type not in ( | |
InteractionType.application_command, | |
InteractionType.auto_complete, | |
): | |
return | |
command: ApplicationCommand | None = None |