From 1d5746de333d4164edaca7f4d232d968fa2361b7 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 8 May 2024 07:42:10 -0600 Subject: [PATCH] Update product text title to include product ID --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8a2b380..48ef75b 100644 --- a/index.js +++ b/index.js @@ -461,7 +461,7 @@ discord.on("interactionCreate", async (interaction) => { res.text().then((text) => { const pages = text.match(/[\s\S]{1,2000}(?=\s|$)/g); const embeds = pages.map((page, ind) => ({ - title: `Product Text Pg ${ind + 1}/${pages.length}`, + title: `Product Text for ${product_id} Pg ${ind + 1}/${pages.length}`, description: `\`\`\`${page}\`\`\``, color: 0x00ff00 }));