Added export and import xp commands

This commit is contained in:
Lilac-Rose
2025-10-20 14:49:44 +02:00
parent 6433f4721b
commit 7caf1a062c
2 changed files with 2 additions and 2 deletions

View File

@@ -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}")

View File

@@ -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}")