diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 0b26a08..495b141 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -27,16 +27,12 @@ export default class Eval extends Command { depth = Number(args[0].replace('-d', '')); if (!depth || depth < 0) depth = 0; args.shift(); - await message.channel.createMessage(`depth: ${args.join(' ').trim()}`); evalString = args.join(' ').trim(); } - await message.channel.createMessage(`eval after depth: ${evalString}\n${args.join()}`); if (args[0] === '-a') { args.shift(); - await message.channel.createMessage(`async: ${args.join(' ').trim()}`); evalString = `(async () => { ${args.join(' ').trim()} })()`; } - await message.channel.createMessage(`eval after async: ${evalString}\n${args.join()}`); try { evaled = await eval(evalString);