diff --git a/commands/moderation/mc.js b/commands/moderation/mc.js index 58b9243..b626f53 100644 --- a/commands/moderation/mc.js +++ b/commands/moderation/mc.js @@ -5,7 +5,7 @@ const { Rcon } = require("rcon-client"); const { spawn } = require("child_process"); const rconpass = process.env.RCONPASS; -const host = process.env.HOST; +const host = process.env.MCHOST; module.exports = { name: "mc", @@ -16,6 +16,7 @@ module.exports = { if (!args) { return message.reply("OI you need to specify the command you want"); } else { + console.log(host); const rcon = new Rcon({ host: `${host}`, port: 25575,