From bec3a7fbfb6b6519a926923d5e152269e0dc7128 Mon Sep 17 00:00:00 2001 From: shni Date: Sun, 5 Oct 2025 01:28:12 -0500 Subject: [PATCH] fix(economy): remove deprecated flags from item editor messages --- src/commands/messages/game/itemCreate.ts | 1 - src/commands/messages/game/itemEdit.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/commands/messages/game/itemCreate.ts b/src/commands/messages/game/itemCreate.ts index bb9bcc8..0377934 100644 --- a/src/commands/messages/game/itemCreate.ts +++ b/src/commands/messages/game/itemCreate.ts @@ -56,7 +56,6 @@ export const command: CommandMessage = { const editorMsg = await message.channel.send({ content: `đŸ› ī¸ Editor de Item: \`${key}\`\nUsa los botones para configurar los campos y luego guarda.`, - flags: MessageFlags.IsComponentsV2, components: [ { type: 1, components: [ { type: 2, style: ButtonStyle.Primary, label: 'Base', custom_id: 'it_base' }, diff --git a/src/commands/messages/game/itemEdit.ts b/src/commands/messages/game/itemEdit.ts index 7724bb5..3269341 100644 --- a/src/commands/messages/game/itemEdit.ts +++ b/src/commands/messages/game/itemEdit.ts @@ -49,7 +49,6 @@ export const command: CommandMessage = { const editorMsg = await message.channel.send({ content: `đŸ› ī¸ Editor de Item (editar): \`${key}\``, - flags: MessageFlags.IsComponentsV2, components: [ { type: 1, components: [ { type: 2, style: ButtonStyle.Primary, label: 'Base', custom_id: 'it_base' }, { type: 2, style: ButtonStyle.Secondary, label: 'Tags', custom_id: 'it_tags' }, @@ -141,4 +140,3 @@ async function showPropsModal(i: ButtonInteraction, state: ItemEditorState) { else { state.props = {}; await sub.reply({ content: 'â„šī¸ Props limpiados.', flags: MessageFlags.Ephemeral }); } } catch {} } -