This bot is barebones and doesn’t contain any additional features. We intend on releasing an advanced version of this bot with more features and slightly different functionality.
Download the bot and config files here.
Please install the below in order otherwise you will experience errors when trying to complete all installations.
Now that you have nodejs and npm installed, open up a command prompt (Windows) or terminal (macOS or Linux) window and navigate to the directory you’d like to use as the directory all of the bot’s files will be stored in.
Run the following commands:
npm init
npm install discord.js
Run the below command:
npm install fetch
Download the master and extract the contents into a folder on the computer/server you intend on using to host your bot.
Fill the following lines from the config.json
file:
{
"token":"YOUR DISCORD BOT TOKEN",
"ip":"YOUR MINECRAFT SERVER IP"
}
Once you’ve changed the token
and ip
variables, you can now start your bot.
The bot was developed using Discord.js v12 and has been tested on v13. We haven’t tested this on any other version, so we cannot guarentee that the bot will function as intended on older versions of Discord.js, however we do plan to test on newer versions of Discord.js as they become available.
Head over to this blog post to learn how to set-up a Discord application with a bot, and locating your Discord bot token.
Ideally, only when aspects of this bot become deprecated in newer versions of discord.js however if you are experiencing difficulties that you believe to be caused by the bot’s code, please open an issue or email [email protected].