From 37ebe1858b083177d83e55c08b3c72a9fbc85538 Mon Sep 17 00:00:00 2001 From: Bsian Date: Mon, 15 Jun 2020 23:06:41 +0100 Subject: [PATCH] remove messages --- src/commands/eval.ts | 4 ---- 1 file changed, 4 deletions(-) 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);