Skip to content

for noobs

IMXNOOBX edited this page May 10, 2024 · 3 revisions

Docs For noobs

🧶 Introduction

Here you will find all the steps needed to set-up your first discord bot with this template.

🔮 Step 1

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

Download

🪁 Step 2

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

Extract

🧩 Step 3

Open the folder in your favorite code editor. I recommend Visual Studio Code.

Open

⚠️ Step 4

Let's rename the .env.example file to .env and fill in the required information.

Rename Fill

See how to get this values here

😉 Step 5

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

Install

here i use npm ci to make a clean install for the picture

🚀 Step 6

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

Start

Tip

Congratulations, you have successfully set-up your first discord bot with this template 🎉

Clone this wiki locally