mirror of
https://github.com/Lilac-Rose/Lacie.git
synced 2026-08-27 03:07:07 -05:00
Added export and import xp commands
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user