paginated to debug.mjs

This commit is contained in:
NoLogicAlan committed 2026-05-09 16:54:09 +03:00
1 parent 3f5c395986
commit c8a6469025
5 files changed
+239 -50

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ export async function run(msg, data) {
// Embed description includes the metadata and the codeblock
const typeLabel = this.t(msg, "responses.eval.typeLabel");
const timeLabel = this.t(msg, "responses.eval.timeLabel");
const desc = `**${typeLabel}** \`${type}\` • **${timeLabel}** \`${elapsed}ms\`\n\`\`\`js\n${chunks[pageIdx]}\n\`\`\``;
const desc = `**${typeLabel}** \`${type}\` • **${timeLabel}** \`${elapsed}ms\`\n\`\`\`js\n${chunks[pageIdx]}\n\`\`\``.slice(0, 4096);
// Customize footer based on state
let footerText = this.t(msg, "responses.eval.pageLabel", { page: pageIdx + 1, total: totalPages });