From dc1b3af0b7f38eb9a52eef8a79397c269f6d6bbd Mon Sep 17 00:00:00 2001 From: loicbersier Date: Tue, 17 Dec 2019 20:26:44 +0100 Subject: [PATCH] new line and codeblock --- commands/owner/exec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/owner/exec.js b/commands/owner/exec.js index 91cb275..c483d76 100644 --- a/commands/owner/exec.js +++ b/commands/owner/exec.js @@ -28,8 +28,8 @@ class execCommand extends Command { const { stdout, stderr } = await exec(args.exec).catch(err => { return message.channel.send(`Oh no, an error has occured\n${err}`); }); - message.channel.send(`stdout: ${stdout}`, { split: true }); - message.channel.send(`stderr: ${stderr}`, { split: true }); + message.channel.send(`stdout: \n\`\`\`${stdout}\`\`\``, { split: true }); + message.channel.send(`stderr: \n\`\`\`${stderr}\`\`\``, { split: true }); } return update(); }