From 16a6a01e6bc81e398a46991d7146b567ab936aba Mon Sep 17 00:00:00 2001 From: Bsian Date: Thu, 2 Apr 2020 01:04:08 +0100 Subject: [PATCH] trying to see where this shit breaks --- src/commands/eval.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 9cab205..c79e73d 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -34,6 +34,8 @@ export default class Eval extends Command { evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`; } + message.channel.createMessage(`${evalString}`); + try { evaled = await eval(evalString); if (typeof evaled !== 'string') {