mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 15:42:13 +11:00
fix
This commit is contained in:
parent
468b10443f
commit
73567576f4
3 changed files with 5 additions and 2 deletions
|
|
@ -4,6 +4,9 @@ const got = require("got");
|
|||
const { Rcon } = require("rcon-client");
|
||||
const { spawn } = require("child_process");
|
||||
|
||||
const rconpass = process.env.RCONPASS;
|
||||
const host = process.env.HOST;
|
||||
|
||||
module.exports = {
|
||||
name: "mc",
|
||||
description: "send a Minecraft command",
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ const got = require("got");
|
|||
|
||||
const { Rcon } = require("rcon-client");
|
||||
const { spawn } = require("child_process");
|
||||
const rconpass = process.env.RCONPASS;
|
||||
const host = process.env.HOST;
|
||||
|
||||
module.exports = {
|
||||
name: "whitelist",
|
||||
|
|
|
|||
2
index.js
2
index.js
|
|
@ -10,8 +10,6 @@ const dotenv = require("dotenv");
|
|||
|
||||
dotenv.config();
|
||||
const prefix = process.env.PREFIX;
|
||||
const rconpass = process.env.RCONPASS;
|
||||
const host = process.env.HOST;
|
||||
|
||||
const client = new Client({
|
||||
intents: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue