- download, clone or import the repository based on your choice.
- navigate to the main working directory, or open the project folder.
- open a terminal.
- install the required dependencies, do:
npm i
- start the server, type:
node .
- Make sure you have nodejs installed on your device.
- Open a terminal(Ctrl + Alt + T)
- Navigate to the directory you want to download the repository in, for example:
cd Desktop
- Clone the repository:
git clone https://github.com/Rednexie/discord-template
- Go inside the repository workspace(folder):
cd discord-template
- Install the required dependencies:
npm i
- Get your discord bot token and paste it into the token sections in the files: config.json or .env
- When the installation is done, start the bot:
node .
- Wait for the bot to log in, after a second or so it should be successfully running.
- In case of errors, create an issue.
- Make sure you have nodejs installed on your device.
- Download the repository as zip
- Unzip the zip file, and open the folder in the file explorer.
- Open a terminal inside the repository workspace(folder) by right clicking to the file explorer or entering the text
cmd
instead of the file path above - Install the required dependencies by typing:
npm i
- Get your discord bot token and paste it into the token sections in the files: config.json or .env
- When the installation is done, start the bot:
node .
- Wait for the bot to log in, after a second or so it should be successfully running.
- In case of errors, create an issue.
- Platforms like github codespaces, replit, glitch etc. are cloud hosting platforms.
- Import the repository on the platform
- You can click the links i provided to import the repo on glitch, codespaces or replit.
- Or find the github repository import section, and paste the link of the repository.
- When the importing process is done, open a terminal
- Install the required dependencies by typing:
npm i
- Use the platform's integrated secrets feature, or paste your discord bot token into config.json.
- Wait for the bot to log in, after a second or so it should be successfully running.
- You have to open the website to start the bot or use keep-alive scripts.
Support me by giving a star to this repository.