bot.exec: newline

This commit is contained in:
Cynthia Foxwell 2021-07-23 17:02:36 -06:00
parent 49f4c9ad75
commit a2c821b7e5

View file

@ -120,7 +120,7 @@ exec.category = CATEGORY;
exec.helpText = "Executes a command";
exec.callback = async function (msg, line) {
const proc = spawn(line);
let out = `Spawned ${proc.pid}: \`${line}'`;
let out = `Spawned ${proc.pid}: \`${line}'\n`;
proc.stdout.on("data", (data) => {
out += data + "\n";
});