mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 23:52:14 +11:00
fix2
This commit is contained in:
parent
73567576f4
commit
c5f0808867
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue