Nodejs on Windows, Linux or macOS | Download here.
Download the git or clone with git clone https://github.com/Fiwi1265/MinecraftBot.git.
Go to the repository folder, open a terminal and type npm install.
Open the file app.js and modify the next lines with your credentials.
//==========================SERVER-PROPERTIES===========================//
const SIP = '' //Server IP
const SPO = 25565 //Server Port | Default 25565
const TOKEN = '' //Discord Bot Token
//======================================================================//
Finally run npm start
For the bot to continue working you must leave that process working without interruption
In linux you can use screen to keep the process running