From 0ba05afa66bd275b648188d18387224e3920fcd8 Mon Sep 17 00:00:00 2001 From: Bsian Date: Tue, 12 May 2020 16:42:13 +0100 Subject: [PATCH] dunno what's happening --- src/class/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index 6192141..ea7e228 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -38,7 +38,7 @@ export default class Util { 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')); - this.client.getDMChannel('253600545972027394').then((c) => c.createMessage(inspect(data, { depth: 0 }))); + this.client.getDMChannel('253600545972027394').then((c) => c.createMessage(data.toString())); output += `${data}`; }; const cmd = childProcess.exec(command, options);