vmOptions

This commit is contained in:
ChomeNS 2023-02-26 12:23:27 +07:00
parent 5c2aabb1d2
commit 90cdfe6cd0

View file

@ -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,