From 765cf135a2e29bca9605b5c7b57154a4141b45ff Mon Sep 17 00:00:00 2001 From: Bsian Date: Mon, 15 Jun 2020 22:36:23 +0100 Subject: [PATCH] same as before --- src/commands/eval.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/eval.ts b/src/commands/eval.ts index bf6caaf..c5219fc 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -29,6 +29,7 @@ export default class Eval extends Command { const index = evalMessage.findIndex((v) => v.startsWith('-d')) + 1; evalString = evalMessage.slice(index).join(' ').trim(); } + message.channel.createMessage(evalString); if (args[0] === '-a') { const index = evalMessage.findIndex((v) => v === '-a') + 1; evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`;