mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-13 18:34:54 -05:00
vmOptions
This commit is contained in:
parent
5c2aabb1d2
commit
90cdfe6cd0
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue