From fa2a0c8c10cf01cc4a77885234e924ba489d4cef Mon Sep 17 00:00:00 2001 From: Bsian Date: Thu, 2 Apr 2020 01:11:29 +0100 Subject: [PATCH] trying to see where this shit breaks --- src/commands/eval.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 8f1e49b..ba00814 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -31,6 +31,7 @@ export default class Eval extends Command { } if (args[0] === '-a') { const index = evalMessage.findIndex((v) => v === '-a'); + message.channel.createMessage(`${index}`); evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`; }