diff --git a/index.js b/index.js index fbc9025..abdce84 100644 --- a/index.js +++ b/index.js @@ -1310,7 +1310,7 @@ discord.on("interactionCreate", async (interaction) => { } // Retruns raw text, paginate it into multiple embeds if needed res.text().then(async (text) => { - const pages = text.match(/[\s\S]{1,2000}(?=\n|$)/g); + const pages = text.match(/[\s\S]{1,1900}(?=\n|$)/g); // const embeds = pages.map((page, ind) => ({ // title: `Product Text for ${product_id} Pg ${ind + 1}/${pages.length}`, // description: `\`\`\`${page}\`\`\``,