Skip to content

Commit 74ff839

Browse files
committed
fix(discord-bot): remove unused create-license modal fields
Keep modal inputs aligned with submitted payload to avoid non-functional fields. Made-with: Cursor
1 parent b64dd29 commit 74ff839

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

src/handlers/CommandHandler.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -207,26 +207,10 @@ class CommandHandler {
207207
.setPlaceholder('monthly')
208208
.setRequired(true);
209209

210-
const priceInput = new TextInputBuilder()
211-
.setCustomId('price')
212-
.setLabel('Price')
213-
.setStyle(TextInputStyle.Short)
214-
.setPlaceholder('99.99')
215-
.setRequired(true);
216-
217-
const featuresInput = new TextInputBuilder()
218-
.setCustomId('features')
219-
.setLabel('Features (one per line)')
220-
.setStyle(TextInputStyle.Paragraph)
221-
.setPlaceholder('Feature 1\nFeature 2\nFeature 3')
222-
.setRequired(false);
223-
224210
const firstActionRow = new ActionRowBuilder().addComponents(applicationNameInput);
225211
const secondActionRow = new ActionRowBuilder().addComponents(planInput);
226-
const thirdActionRow = new ActionRowBuilder().addComponents(priceInput);
227-
const fourthActionRow = new ActionRowBuilder().addComponents(featuresInput);
228212

229-
modal.addComponents(firstActionRow, secondActionRow, thirdActionRow, fourthActionRow);
213+
modal.addComponents(firstActionRow, secondActionRow);
230214

231215
return modal;
232216
}

0 commit comments

Comments
 (0)