This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var spawn = require('child_process').spawn; | |
var discord = require("discord.js"); | |
var bot = new discord.Client(); | |
var mcserver; | |
// The start.bat has to include a 'cd "C:/Users/_____/Desktop/Server/"' command (See start.bat for more details) | |
var MC_SERVER_START_SCRIPT = "C:/Users/_____/Desktop/Server/start.bat"; | |
bot.on("message", function(message){ |