⚒️Basic Installation
Last updated
Last updated
Go to the Github repository page on your internet browser, and then just clone it to your computer, and then we will do more. I can recommend you use GitHub Desktop. It's really easier to clone repositories from GitHub.
Do you need more help? Read the official documentation about cloning repositories.
Install Visual Studio Code by Microsoft, or any other code program. It will be better for you to control the code.
If you don't want to install code programs, you can just edit the config.js file in a text editor. It will be less clear, but still sufficient.
I can recommend this documentation for creating a discord application by Edward Jones.
We will create a new app (project) here.
In the new pop-up, enter your app name (not the name of your future bot) After creating, you can add an avatar/icon of your app (you don't have to, actually)
Go to page "Bot"
On the "Bot" page, click the blurple button with the name "Add Bot".
If you want, you can now change the name and avatar of your true bot.
We did this step because you can now get the token of your bot on the "Bot" page.
It's time to change the config data. Go to the folder you downloaded and open the file config.js. /minecraft-bot/config.js
You can open this file with your code editor (like visual studio code) or any of the text editors. You won't have it clear (colorful) but it's time-saving.
Now, let's edit the data in our config. You need to modify the information about the bot and server. If you want, you can edit also embeds, commands aliases, auto-changing status message (statusCH) settings, and more.
If you don't understand some data, you can check out the Config data page.
You need to install dependencies to have the code working.
Install them with the command npm install
.
In Visual Studio Code, the console opens by CTRL + ;
. Commands are used there.
If you are struggling to install all the necessary packages by these two commands:
Well done! You are at the last step now.
You need to start the code. You can run it with the command npm start
or node index.js
.
If you have a mistake in the config file, you should get a warning in the console.
If you don't understand something, you found a bug, or you just need help creating a new issue on the GitHub repository page.
The answer is on the FAQ here.