bot.exec: dont add ERR:

This commit is contained in:
Cynthia Foxwell 2021-07-23 17:03:14 -06:00
parent a2c821b7e5
commit d38d1d3925

View file

@ -125,7 +125,7 @@ exec.callback = async function (msg, line) {
out += data + "\n"; out += data + "\n";
}); });
proc.stderr.on("data", (data) => { proc.stderr.on("data", (data) => {
out += "ERR: " + data + "\n"; out += data + "\n";
}); });
proc.on("close", async (code) => { proc.on("close", async (code) => {