feat(economy): simplify category label and add placeholder for input fields
This commit is contained in:
@@ -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'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user