mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -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') {
|
if (args[0] === 'reset') {
|
||||||
bot.vm = new VM(bot.vmoptions)
|
bot.vm = new VM(bot.vmOptions)
|
||||||
}
|
}
|
||||||
if (args[0] === 'server') {
|
if (args[0] === 'server') {
|
||||||
const res = await axios.post(config.eval.serverUrl, new URLSearchParams({
|
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)}\`\`\``)
|
.setDescription(`\`\`\`${util.inspect(bot.vm.run(args.slice(1).join(' '))).substring(0, 1950)}\`\`\``)
|
||||||
channeldc.send({ embeds: [Embed] })
|
channeldc.send({ embeds: [Embed] })
|
||||||
} else if (args[0] === 'reset') {
|
} else if (args[0] === 'reset') {
|
||||||
bot.vm = new VM(bot.vmoptions)
|
bot.vm = new VM(bot.vmOptions)
|
||||||
} else if (args[0] === 'server') {
|
} else if (args[0] === 'server') {
|
||||||
const res = await axios.post(config.eval.serverUrl, new URLSearchParams({
|
const res = await axios.post(config.eval.serverUrl, new URLSearchParams({
|
||||||
html: false,
|
html: false,
|
||||||
|
|
Loading…
Reference in a new issue