-
Notifications
You must be signed in to change notification settings - Fork 1
for noobs
Here you will find all the steps needed to set-up your first discord bot with this template.
Download the template from the repository by clicking on the Download ZIP button.
If you are more advance you can clone the repository usin git or github desktop
Once you have downloaded the template, extract the files to a folder of your choice.
If you are using git/hub desktop just move to the directory that has been created
Open the folder in your favorite code editor. I recommend Visual Studio Code.
Let's rename the
.env.example
file to.env
and fill in the required information.
See how to get this values here
Open a terminal in your code editor and run the following command to install the required dependencies.
To open the terminal in vscode press Ctrl+`
npm install
here i use npm ci
to make a clean install for the picture
Now that you have installed the dependencies, you can start the bot by running the following command.
npm start # Recommended when hosting the bot
npm run dev # Recommended when adding/working on the bot, it will restart the bot on file changes
Tip
Congratulations, you have successfully set-up your first discord bot with this template 🎉
Note
You can ⭐ this repository if you like it by clicking the star in the homepage!