Update product text title to include product ID
This commit is contained in:
parent
a436c74bdd
commit
1d5746de33
2
index.js
2
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
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue