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.
Clone button in repository
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.
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.
You need to install dependencies to have the code working. Install them with the command
If you are struggling to install all the necessary packages by these two commands:
npm i @discordjs/[email protected] @discordjs/[email protected] [email protected] [email protected] fs [email protected] [email protected] [email protected]
npm i [email protected] [email protected] --save --save-exact
Well done! You are at the last step now. You need to start the code. You can run it with the command
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.