diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 1a240cc..9c8321e 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -30,13 +30,13 @@ export default class Eval extends Command { await message.channel.createMessage(`depth: ${evalMessage.slice(index).join(' ').trim()}`); evalString = evalMessage.slice(index).join(' ').trim(); } - await message.channel.createMessage(`eval after depth: ${evalString}`); + await message.channel.createMessage(`eval after depth: ${evalString}\n${args.join()}`); if (args[0] === '-a') { const index = evalMessage.findIndex((v) => v === '-a') + 1; await message.channel.createMessage(`async: ${evalMessage.slice(index).join(' ').trim()}`); evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`; } - await message.channel.createMessage(`eval after async: ${evalString}`); + await message.channel.createMessage(`eval after async: ${evalString}\n${args.join()}`); try { evaled = await eval(evalString);