From 6ed299cf2b7bd584cacd5a84f7bc4001f9fd1489 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 15 Sep 2025 06:50:41 -0600 Subject: [PATCH] Change showcase of current settings --- commands/settings.js | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/commands/settings.js b/commands/settings.js index b0f41f7..aadd83f 100644 --- a/commands/settings.js +++ b/commands/settings.js @@ -17,11 +17,25 @@ const execute = async (interaction) => { // Proceed with settings menu await interaction.reply({ ephemeral: true, content: "Getting things ready..." }); await interaction.user.send({ embeds: [{ - title: `Hub Settings for ${hubResult[0].name}`, - description: `**Short Description:** ${hubResult[0].shortDescription}\n**Long Description:** ${hubResult[0].longDescription}\n**Allow Gift Purchase:** ${hubResult[0].allowGiftPurchase ? "Yes" : "No"}\n**Terms of Service:** ${hubResult[0].tos}\n\nHub Secret Key: ||${hubResult[0].secretKey}||`, + title: 'Welcome to Hub Settings!', + description: 'Below are your current hub settings.', + color: 0x00AE86, + fields: [ + { name: "Hub ID", value: hubResult[0].id }, + { name: "Hub Name", value: hubResult[0].name }, + { name: "Owner Discord ID", value: hubResult[0].ownerId }, + { name: "Discord Guild ID", value: hubResult[0].discordGuild }, + { name: "Short Description", value: hubResult[0].shortDescription }, + { name: "Long Description", value: hubResult[0].longDescription }, + { name: "Allow Gift Purchase", value: hubResult[0].allowGiftPurchase ? "Yes" : "No" }, + { name: "Terms of Service", value: hubResult[0].tos }, + { name: "Background Music ID", value: hubResult[0].bgmId ? hubResult[0].bgmId : "None" }, + { name: "Secret Key", value: `||\`${hubResult[0].secretKey}\`||` } + ] + },{ + description: `Options`, color: 0x00AE86, fields: [ - { name: "Main Menu", value: "Type an option number, or `cancel` to close." }, { name: "1. Edit Short Description", value: "Change the short description of the hub." }, { name: "2. Edit Long Description", value: "Change the long description of the hub." }, { name: "3. Toggle Allow Gift Purchase", value: "Enable or disable allowing users to buy gifts for others on this hub." },