diff --git a/commands/general/eval.js b/commands/general/eval.js index 64e3bea..62b0e1f 100644 --- a/commands/general/eval.js +++ b/commands/general/eval.js @@ -17,9 +17,11 @@ class EvalCommand extends Command { const sendString = `\`\`\`js\n${cleaned}\n\`\`\``; if (sendString.length >= 2000) { return { - text: "The result was too large, so here it is as a file:", - file: cleaned, - name: "result.txt" + content: "The result was too large, so here it is as a file:", + files: [{ + contents: cleaned, + name: "result.txt" + }] }; } else { return sendString;