diff --git a/commands/general/exec.js b/commands/general/exec.js index 060a493..0f6d94f 100644 --- a/commands/general/exec.js +++ b/commands/general/exec.js @@ -17,7 +17,7 @@ class ExecCommand extends Command { const execed = await exec(code); if (execed.stderr) return `${await clean(execed.stderr)}`; const cleaned = await clean(execed.stdout); - const sendString = `\`\`\`bash\n${cleaned}\n\`\`\``; + const sendString = `${cleaned}`; if (sendString.length >= 2000) { return { text: "The result was too large, so here it is as a file:", @@ -28,7 +28,7 @@ class ExecCommand extends Command { return sendString; } } catch (err) { - return `\`ERROR\` \`\`\`xl\n${await clean(err)}\n\`\`\``; + return `\`ERROR\` ${await clean(err)}`; } }