diff --git a/xp/export.py b/xp/export.py index fe54252..c4fbc94 100644 --- a/xp/export.py +++ b/xp/export.py @@ -47,7 +47,7 @@ class ExportXP(commands.Cog): ) async def export_xp(self, interaction: discord.Interaction, xp_type: app_commands.Choice[str]): try: - # Defer immediately (not ephemeral so everyone can see) + # Defer immediately await interaction.response.defer() print(f"Export started for {xp_type.value}") diff --git a/xp/import.py b/xp/import.py index 0c2bf8f..5249bdb 100644 --- a/xp/import.py +++ b/xp/import.py @@ -71,7 +71,7 @@ class ImportXP(commands.Cog): attachment: discord.Attachment ): try: - # Defer immediately (not ephemeral so everyone can see) + # Defer immediately await interaction.response.defer() print(f"Import started for {xp_type.value}")