From 90cdfe6cd07fb737667cfcbdc43f45adae964369 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 26 Feb 2023 12:23:27 +0700 Subject: [PATCH] vmOptions --- commands/eval.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/eval.js b/commands/eval.js index 40f3018..744b187 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -21,7 +21,7 @@ module.exports = { } } if (args[0] === 'reset') { - bot.vm = new VM(bot.vmoptions) + bot.vm = new VM(bot.vmOptions) } if (args[0] === 'server') { const res = await axios.post(config.eval.serverUrl, new URLSearchParams({ @@ -41,7 +41,7 @@ module.exports = { .setDescription(`\`\`\`${util.inspect(bot.vm.run(args.slice(1).join(' '))).substring(0, 1950)}\`\`\``) channeldc.send({ embeds: [Embed] }) } else if (args[0] === 'reset') { - bot.vm = new VM(bot.vmoptions) + bot.vm = new VM(bot.vmOptions) } else if (args[0] === 'server') { const res = await axios.post(config.eval.serverUrl, new URLSearchParams({ html: false,