diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 0f3bf3e..bf6caaf 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -33,6 +33,7 @@ export default class Eval extends Command { const index = evalMessage.findIndex((v) => v === '-a') + 1; evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`; } + message.channel.createMessage(evalString); try { evaled = await eval(evalString);