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,