mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
paginated to debug.mjs
This commit is contained in:
1 parent
3f5c395986
commit
c8a6469025
5 files changed
+239
-50
No files matched your search
+1
-1
@@ -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 });
|
||||
|
||||
Reference in new issue
Block a user