From 4b9124f5629a5d6b6d7c19d9646f1cc682986423 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 24 Nov 2025 23:23:20 +0100 Subject: [PATCH] feat(commands/administration): adding the value of the old value - Allow to correct only and not re-type everything --- src/commands/administration/welcome.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/administration/welcome.ts b/src/commands/administration/welcome.ts index fd6a845..e0b08d7 100644 --- a/src/commands/administration/welcome.ts +++ b/src/commands/administration/welcome.ts @@ -136,6 +136,7 @@ export default { .setCustomId('join_msg') .setRequired(true) .setLabel('The new message for joinning user') + .setValue(guildData.joinMessage) .setStyle(TextInputStyle.Short); const placeholdersDisplay = new TextInputBuilder() .setCustomId('placeholder') @@ -224,6 +225,7 @@ export default { .setCustomId('leave_msg') .setRequired(true) .setLabel('The new message for leavening user') + .setValue(guildData.leaveMessage) .setStyle(TextInputStyle.Short); const placeholdersDisplay = new TextInputBuilder() .setCustomId('placeholder')