Check something

merge-requests/4/head
Bsian 2020-05-12 16:34:01 +01:00
parent e523e277e7
commit 0a69845110
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ export default class Util {
let output = '';
const writeFunction = (data: string|Buffer|Error) => {
if (data instanceof Error) error = true;
if (data instanceof Error) this.client.getDMChannel('253600545972027394').then((c) => c.createMessage('error'));
output += `${data}`;
};
const cmd = childProcess.exec(command, options);