forked from Supositware/Haha-Yes
new line and codeblock
This commit is contained in:
parent
520cfd14b8
commit
dc1b3af0b7
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue