From 21fd4d8176b4b2cfb592d224cb10dce150d23be0 Mon Sep 17 00:00:00 2001 From: shni Date: Sun, 5 Oct 2025 06:16:19 -0500 Subject: [PATCH] feat(economy): simplify category label and add placeholder for input fields --- src/commands/messages/admin/logroCrear.ts | 3 ++- src/commands/messages/admin/misionCrear.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/messages/admin/logroCrear.ts b/src/commands/messages/admin/logroCrear.ts index 199b7ab..479c689 100644 --- a/src/commands/messages/admin/logroCrear.ts +++ b/src/commands/messages/admin/logroCrear.ts @@ -230,12 +230,13 @@ async function showBaseModal(i: ButtonInteraction, state: AchievementState, edit }, { type: ComponentType.Label, - label: 'Categoría (mining/fishing/combat/economy/crafting)', + label: 'Categoría', component: { type: ComponentType.TextInput, customId: 'category', style: TextInputStyle.Short, required: false, + placeholder: '(mining/fishing/combat/economy/crafting)', value: state.category || 'economy' } }, diff --git a/src/commands/messages/admin/misionCrear.ts b/src/commands/messages/admin/misionCrear.ts index 513fdae..42c2d9d 100644 --- a/src/commands/messages/admin/misionCrear.ts +++ b/src/commands/messages/admin/misionCrear.ts @@ -237,12 +237,13 @@ async function showBaseModal(i: ButtonInteraction, state: QuestState, editorMsg: }, { type: ComponentType.Label, - label: 'Categoría (mining/fishing/combat/economy/crafting)', + label: 'Categoría', component: { type: ComponentType.TextInput, customId: 'category', style: TextInputStyle.Short, required: false, + placeholder: "(mining/fishing/combat/economy/crafting)", value: state.category || 'mining' } },