-
-
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 |
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Paillat-dev commentedon Jan 7, 2025
Because it's not an isinstance
Paillat-dev commentedon Jan 7, 2025
What is the sense of this even